[lxc-devel] lxc 0.7.4 does not mount anything

Michael Tokarev mjt at tls.msk.ru
Fri Mar 11 21:06:55 UTC 2011


11.03.2011 22:47, richard -rw- weinberger пишет:
> 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.

This appears to be a bug in last changes in 0.7.4, there:

[pid  2677] read(8, "none /lxc/c0/proc proc defaults "..., 4096) = 36
[pid  2677] mount("none", "/opt/lxc//lib/lxc/rootfsproc", "proc", 0, NULL) = 0

Please drop the trailing slash from
lxc.rootfs and try again.

Also, please set the log level to at least
"warn" - by default warnings goes to
/dev/null.

/mjt




More information about the lxc-devel mailing list