Description of problem: Running lxc-execute as the manual specifies gives: # lxc-create -n foo # lxc-execute -n foo /bin/bash lxc-execute: No such file or directory - failed to rename cgroup /sys/fs/cgroup/systemd/22380->/sys/fs/cgroup/systemd/foo lxc-execute: failed to spawn 'foo' lxc-execute: No such file or directory - failed to remove cgroup '/sys/fs/cgroup/systemd/foo' #lxc-ls foo Version-Release number of selected component (if applicable): lxc-0.7.2-2.fc15.x86_64 How reproducible: Always... Steps to Reproduce: 1. lxc-execute -n foo /bin/bash 2. 3. Actual results: Above error messages Expected results: Additional info: BTW, the example (/usr/share/doc/lxc/examples/lxc-macvlan.conf) refers to network interface eth0, which today is called em1.
Ok I grabbed the lxc-0.7.4.1-1 srpm off of Rawhide and recompiled into F15 and now this error is gone. but I got a new one. # lxc-execute -n foo /bin/bash lxc-init: failed to mount /dev/mqueue : Too many levels of symbolic links
I have orphaned this package.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
(In reply to comment #1) > Ok I grabbed the lxc-0.7.4.1-1 srpm off of Rawhide and recompiled into F15 and > now this error is gone. but I got a new one. > > # lxc-execute -n foo /bin/bash > lxc-init: failed to mount /dev/mqueue : Too many levels of symbolic links Confirmed with 0.7.4.2. This is due to /dev/mqueue being mounted type autofs by systemd. We will talk to lxc upstream about this.
Here's a workaround, until we find the 'correct' solution: $ rm /lib/systemd/system/sysinit.target.wants/dev-mqueue.automount $ ln -s ../dev-mqueue.mount /lib/systemd/system/sysinit.target.wants/dev-mqueue.mount After a reboot, the simple lxc test works.
(In reply to comment #1) > lxc-init: failed to mount /dev/mqueue : Too many levels of symbolic links lxc should stop trying to mount the filesystems itself. Just assume they are already mounted. The whole src/lxc/lxc_init.c:lxc_setup_fs() is harmful. It even tries to umount /proc and /dev/shm and then mount them back again. That's evil.
https://sourceforge.net/tracker/?func=detail&aid=3357704&group_id=163076&atid=826303
*** Bug 736534 has been marked as a duplicate of this bug. ***
lxc-0.7.5-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/lxc-0.7.5-1.fc15
Package lxc-0.7.5-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lxc-0.7.5-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-5108/lxc-0.7.5-1.fc15 then log in and leave karma (feedback).
lxc-0.7.5-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.