error: gpgme_op_import() error: Inappropriate ioctl for device when building on CentOS 7

asked 2017-01-13 13:44:19 +0000

banjer gravatar image

Per suggestions in this answer, I'm using a CentOS 7 container instead of Fedora to build a CentOS 7 Atomic Host, but I get the following error:

$ git clone
$ cd sig-atomic-buildscripts
$ git checkout downstream
$ rpm-ostree compose tree --repo=/srv/rpm-ostree/repo ./centos-atomic-host.json
No previous commit for centos-atomic-host/7/x86_64/standard

Downloading metadata: [========                   ]  20%
error: gpgme_op_import() error: Inappropriate ioctl for device

Any ideas?

All examples I've seen thus far show people using Fedora to build CentOS Atomic Hosts, so I may just stick to that, but I did notice that the boot screen looked "off" for this new image when rebooting the Atomic host. I noticed the version number was not displayed in the boot menu on the Fedora-built CentOS atomic image:

CentOS Linux 7 (Core) (ostree:0)
CentOS Linux 7 (Core) 7.20161006 (ostree)

The first entry is my custom image (built on Fedora as I said) I rebased to, and the second entry is the original publicly available image (from ISO). I remembered @jlebon's comment in the answer linked above about $releasever so figured it was something with that. Sorry, kinda two questions in one, but maybe related.

edit retag flag offensive close merge delete


I just encountered this, as well, composing a centos atomic tree from a centos container on a fedora host. I tried it on a centos host, too, but hit the same error. I ended up doing the tree compose from a centos vm -- there's something amiss with running this in a centos container atm.

jasonbrooks ( 2017-01-30 19:07:45 +0000 )edit

I commented in - does that help?

walters ( 2017-01-31 15:48:46 +0000 )edit