Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-14 Thread Cedric Le Goater
On 03/11/2011 11:06 PM, Daniel Lezcano wrote: >> And we really, REALLY need to set default log level to >> be at least warning instead of error, or else these >> useful warnings goes nowhere. > > Everybody ok with this change ? > > extern int lxc_log_init(const char *file, const char *priority, >

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread Daniel Lezcano
On 03/11/2011 10:23 PM, Michael Tokarev wrote: > Daniel, this is this part: > > conf.c:mount_entry_on_absolute_rootfs(): > > aux = strstr(mntent->mnt_dir, rootfs->path); > > snprintf(path, MAXPATHLEN, "%s%s", rootfs->mount, > aux + strlen(rootfs->path)); > > if r

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread richard -rw- weinberger
On Fri, Mar 11, 2011 at 10:13 PM, Daniel Lezcano wrote: > 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 in

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread Michael Tokarev
Daniel, this is this part: conf.c:mount_entry_on_absolute_rootfs(): aux = strstr(mntent->mnt_dir, rootfs->path); snprintf(path, MAXPATHLEN, "%s%s", rootfs->mount, aux + strlen(rootfs->path)); if rootfs->path ends with a slash we happily eat it, producing this in

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread richard -rw- weinberger
On Fri, Mar 11, 2011 at 10:06 PM, Michael Tokarev 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/

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread Michael Tokarev
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. >

Re: [lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread Daniel Lezcano
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

[lxc-devel] lxc 0.7.4 does not mount anything

2011-03-11 Thread 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. mounting within