[lxc-devel] lxc 0.7.4 does not mount anything

richard -rw- weinberger richard.weinberger at gmail.com
Fri Mar 11 21:23:10 UTC 2011


On Fri, Mar 11, 2011 at 10:06 PM, Michael Tokarev <mjt at tls.msk.ru> wrote:
> 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.

without the slash it works fine. :)

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

-- 
Thanks,
//richard




More information about the lxc-devel mailing list