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,
>
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
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
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
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/
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.
>
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
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