Bug 861564
Summary: | fail to start lxc os container | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhenfeng wang <zhwang> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | acathrow, ajia, dallan, dyasny, dyuan, gsun, mzhan, rwu |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.2-2.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 07:25:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
zhenfeng wang
2012-09-29 07:59:48 UTC
This issue is only exsited on the lxc os container ,but not in the lxc application container, the lxc application container can start successfully now ,you can reference the bug 857341 We need this fix from upstream: commit 1532bd498a879494bb1e4757a54fce796eab368c Author: Daniel P. Berrange <berrange> Date: Tue Sep 25 16:24:10 2012 +0100 Fix start of containers with custom root filesystem A prefix change to unmount the SELinux filesystem broke starting of LXC containers with a custom root filesystem As it works on libvirt-0.9.10-21.el6.x86_64, so mark this bug a regression bug. pkgs: libvirt-0.10.2-2.el6.x86_64 kernel-2.6.32-306.el6.x86_64 steps following exact steps as in description # virsh -c lxc:/// list --all Id Name State ---------------------------------------------------- - fedora-rawhide shut off # virsh -c lxc:/// dumpxml fedora-rawhide <domain type='lxc'> <name>fedora-rawhide</name> <uuid>6222c8db-8764-9c54-8fed-2646b8c4ef78</uuid> <memory unit='KiB'>524288</memory> <currentMemory unit='KiB'>524288</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='i686'>exe</type> <init>/sbin/init</init> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/libvirt_lxc</emulator> <filesystem type='mount' accessmode='passthrough'> <source dir='/tmp/fe15'/> <target dir='/'/> </filesystem> <interface type='network'> <mac address='52:54:00:f0:1e:4c'/> <source network='default'/> </interface> <console type='pty'> <target type='lxc' port='0'/> </console> </devices> </domain> # virsh -c lxc:/// start fedora-rawhide Domain fedora-rawhide started # virsh -c lxc:/// list --all Id Name State ---------------------------------------------------- 22330 fedora-rawhide running This is working now. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html |