Re: [Lxc-users] automount in the container

2012-11-14 Thread John Drescher
On Wed, Nov 14, 2012 at 8:09 AM, Olivier Archer wrote: > Hi, > I'm new to the list, and i've just build my first container under ubuntu > 12.04. > > I've got some problemes with the automounter, and my probleme seem to be > the same as in this threads: > > http://sourceforge.net/mailarchive/me

[Lxc-users] automount in the container

2012-11-14 Thread Olivier Archer
Hi, I'm new to the list, and i've just build my first container under ubuntu 12.04. I've got some problemes with the automounter, and my probleme seem to be the same as in this threads: http://sourceforge.net/mailarchive/message.php?msg_id=26229199 my kernel is 3.2.0-32, and i found a patch

Re: [Lxc-users] automount in the container

2010-09-27 Thread Daniel Lezcano
On 09/27/2010 03:21 PM, Helmut Lichtenberg wrote: > Daniel Lezcano schrieb am 27. Sep 2010 um 12:09:07 CEST: >> Added in attachment the patch. >> It applies against 2.6.36-rc5 but I think backport it to 2.6.32 is trivial. > > After installing this patch into 2.6.32 and compiling the kernel it works

Re: [Lxc-users] automount in the container

2010-09-27 Thread Helmut Lichtenberg
Daniel Lezcano schrieb am 27. Sep 2010 um 12:09:07 CEST: > Added in attachment the patch. > It applies against 2.6.36-rc5 but I think backport it to 2.6.32 is trivial. After installing this patch into 2.6.32 and compiling the kernel it works like a smart. Great. -- --

Re: [Lxc-users] automount in the container

2010-09-27 Thread Helmut Lichtenberg
Daniel Lezcano schrieb am 27. Sep 2010 um 12:09:07 CEST: > Added in attachment the patch. > It applies against 2.6.36-rc5 but I think backport it to 2.6.32 is trivial. Thanks. -- - Helmut LichtenbergTel.: 05034/871-128 I

Re: [Lxc-users] automount in the container

2010-09-27 Thread Daniel Lezcano
On 09/27/2010 11:59 AM, Helmut Lichtenberg wrote: Daniel Lezcano schrieb am 27. Sep 2010 um 11:17:12 CEST: Daniel Lezcano schrieb am 25. Sep 2010 um 00:05:41 CEST: It seems the patchset http://kerneltrap.org/mailarchive/linux-kernel/2007/3/20/68572/thread was not taken upstream.

Re: [Lxc-users] automount in the container

2010-09-27 Thread Helmut Lichtenberg
Daniel Lezcano schrieb am 27. Sep 2010 um 11:17:12 CEST: >> Daniel Lezcano schrieb am 25. Sep 2010 um 00:05:41 CEST: It seems the patchset http://kerneltrap.org/mailarchive/linux-kernel/2007/3/20/68572/thread was not taken upstream. [...] >> I'm not quite clean, what this means for m

Re: [Lxc-users] automount in the container

2010-09-27 Thread Daniel Lezcano
On 09/27/2010 09:40 AM, Helmut Lichtenberg wrote: > Hi Daniel, > > Daniel Lezcano schrieb am 25. Sep 2010 um 00:05:41 CEST: >>> It seems the patchset >>> http://kerneltrap.org/mailarchive/linux-kernel/2007/3/20/68572/thread >>> was not taken upstream. >>> A quick look at the code, make me think the

Re: [Lxc-users] automount in the container

2010-09-27 Thread Helmut Lichtenberg
Hi Daniel, Daniel Lezcano schrieb am 25. Sep 2010 um 00:05:41 CEST: >> It seems the patchset >> http://kerneltrap.org/mailarchive/linux-kernel/2007/3/20/68572/thread >> was not taken upstream. >> A quick look at the code, make me think the pids are not virtualized and >> that should mess up autofs

Re: [Lxc-users] automount in the container

2010-09-24 Thread Daniel Lezcano
On 09/24/2010 03:03 PM, Daniel Lezcano wrote: > On 09/24/2010 12:31 PM, Helmut Lichtenberg wrote: > >> Some more experiments: >> >> The last lines of an strace look like this: >> >> r...@cc2,~: strace ls -l /net/fs-v1 >> [...] >> open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 >> fstat

Re: [Lxc-users] automount in the container

2010-09-24 Thread Daniel Lezcano
On 09/24/2010 12:31 PM, Helmut Lichtenberg wrote: > Some more experiments: > > The last lines of an strace look like this: > > r...@cc2,~: strace ls -l /net/fs-v1 > [...] > open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0 > mmap(NUL

Re: [Lxc-users] automount in the container

2010-09-24 Thread Daniel Lezcano
On 09/24/2010 12:31 PM, Helmut Lichtenberg wrote: > Some more experiments: > > The last lines of an strace look like this: > > r...@cc2,~: strace ls -l /net/fs-v1 > [...] > open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0 > mmap(NUL

Re: [Lxc-users] automount in the container

2010-09-24 Thread Helmut Lichtenberg
Some more experiments: The last lines of an strace look like this: r...@cc2,~: strace ls -l /net/fs-v1 [...] open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0 mmap(NULL, 26048, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1273115000 close(3)

Re: [Lxc-users] automount in the container

2010-09-24 Thread Helmut Lichtenberg
Hi Daniel, Daniel Lezcano schrieb am 24. Sep 2010 um 10:05:23 CEST: > Can you check if adding the following line in /var/lib/lxc//config > fix your problem ? > > lxc.cgroup.devices.allow = c 10:52 rwm # dev/autofs it helped so far, that autofs5 installs without error an /dev/autofs will be crea

Re: [Lxc-users] automount in the container

2010-09-24 Thread Daniel Lezcano
On 09/24/2010 09:02 AM, Helmut Lichtenberg wrote: > Hi, > I set up my first container and want to mount the home directories for the > users with automount/autofs5. > > During installation of autofs5 in the container, it complained that it can't > create /dev/autofs. Create this node with mknod was

[Lxc-users] automount in the container

2010-09-24 Thread Helmut Lichtenberg
Hi, I set up my first container and want to mount the home directories for the users with automount/autofs5. During installation of autofs5 in the container, it complained that it can't create /dev/autofs. Create this node with mknod was possible but did not help. When I want to step into the auto