[lxc-devel] lxc 2.0.7 on Fedora: download template can't find gpg as only gpg2 is installed?

Johannes Kastl mail at ojkastl.de
Wed Feb 8 08:31:50 UTC 2017


Hi guys,

anyone using Fedora as a host? I have a VM I setup a while ago with
Fedora 24, that I just updated and installed lxc on.

> rpm -qa|grep lxc
python-lxc-python2-0.1.git_0553f05-4.1.x86_64
lxc-libs-2.0.7-1.fc24.x86_64
lxc-templates-2.0.7-1.fc24.x86_64
lxc-2.0.7-1.fc24.x86_64

The error message when creating the container is:
/bin/lxc-create --name foobar --template download --bdev btrfs --
 -d centos -r 7 -a amd64
> You can workaround this by using --no-validate. lxc-create:
> lxccontainer.c: create_run_template: 1297 container
> creation template for foobar failed
> lxc-create: tools/lxc_create.c: main: 318 Error creating container
> foobar

Once I link /bin/gpg2 to /bin/gpg (or rather /usr/bin/gpg2 to
/usr/bin/gpg) it works flawlessly.

Anyone else having this?

I'll try to spin up a new machine today and test again.

Johannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 244 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170208/ebdf5548/attachment.sig>


More information about the lxc-devel mailing list