| Summary: | lxc-execute fails due to namespace mismatch (?) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | lxc | Assignee: | Thomas Moschny <thomas.moschny> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dick, dwalsh, gbauman, mschmidt, the.loeki, thomas.moschny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lxc-0.7.5-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-13 21:32:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Horst H. von Brand
2011-04-08 23:07:03 UTC
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. *** Bug 736534 has been marked as a duplicate of this bug. *** This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. 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. |