[Lxc-users] lxc-start fails when / is a shared mount

2011-09-19 Thread Marios Titas
Hi list, I just ran into this problem: If you do # mount --make-shared / to mark / as a shared mount then lxc-start fails when you have specified a lxc.rootfs in the configuration file. The error that lxc-start gives is the following: Invalid argument - pivot_root syscall failed Is this

Re: [Lxc-users] Problem with lxc

2011-09-19 Thread Serge E. Hallyn
Quoting Kristian Kirilov (d3v1...@d3v1ous.info): ... lxc-checkconfig show this status: blackbird:~# lxc-checkconfig Kernel config /proc/config.gz not found, looking in other places... Found kernel config file /boot/config-3.0.4 --- Namespaces --- Namespaces: enabled Utsname namespace:

Re: [Lxc-users] lxc-start fails when / is a shared mount

2011-09-19 Thread Serge Hallyn
Quoting Marios Titas (redneb8...@gmail.com): Hi list, I just ran into this problem: If you do # mount --make-shared / to mark / as a shared mount then lxc-start fails when you have specified a lxc.rootfs in the configuration file. The error that lxc-start gives is the following:

Re: [Lxc-users] Help regarding lxc

2011-09-19 Thread nishant mungse
hello all Thnks 4 comments. I hv resolved that issue, when we comment lxc.rootfs the lxc-execute works. My question is why for lxc-execute the rootfs is not needed ? Regards, Nishant. On Mon, Sep 19, 2011 at 9:16 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: Quoting nishant mungse