On 03/11/2011 08:47 PM, richard -rw- weinberger wrote: > hi, > > i'm using this minimal config: > lxc.utsname = c0 > lxc.mount.entry = none /lxc/c0/proc proc defaults 0 0 > lxc.rootfs = /lxc/c0/ > > but lxc does not mount proc into /lxc/c0/proc. > using lxc.mount = /path/to/fstab also does not work. > it's also not only proc, it does not mount anything. > > mounting within the container works fine. > but i want do drop cap_sys_admin. > > to test the issue i'm using this command: > strace -f /opt/lxc/bin/lxc-start -n c0 -- /bin/ps> log.txt 2>&1 > > /bin/ps writes: > Error, do this: mount -t proc none /proc > so, /proc is not mounted. > i double checked it using /bin/bash as init... > > log.txt is attached. you can see proc gets never mounted to /lxc/c0/proc/ > > is this a configuration error or a bug?
Hi Richard, can you give the output of the log file in DEBUG mode ? lxc-start -o <file> -l DEBUG -n ... <file> can be $(tty) ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel