[Lxc-users] pivot_root fails on Fedora 15 host

Mark Clarkson mark.clarkson at smorg.co.uk
Fri Sep 23 13:14:39 UTC 2011


Hi,
On a Fedora 15 host (systemd) with lxc 0.7.5, centos container fails to
start:

 ... mountpoint for old rootfs is '/usr/local/lib/lxc/rootfs/mnt'
 ... ERROR    lxc_conf - Invalid argument - pivot_root syscall failed
 ... ERROR    lxc_conf - failed to setup pivot root
 ... ERROR    lxc_conf - failed to set rootfs for 'centos'

I changed source to chroot instead of pivot_root and container now
starts.

Any ideas what's wrong with pivot_root and how to fix?

Cheers
Mark.





More information about the lxc-users mailing list