[Lxc-users] automount in the container
Helmut Lichtenberg
heli at tzv.fal.de
Fri Sep 24 09:45:33 UTC 2010
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/<name>/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
created in the container:
root at cc2,~: ls -l /dev/auto*
crw------- 1 root root 10, 57 Sep 24 11:33 /dev/autofs
When I change into the automount directory, it still hangs without any trace
in the logs neither on the host, nor on the fileserver.
In the container, the log says:
Sep 24 11:33:35 cc2 automount[3329]: Starting automounter version 5.0.4, master map /etc/auto.master
Sep 24 11:33:35 cc2 automount[3329]: using kernel protocol version 5.01
Sep 24 11:33:35 cc2 automount[3329]: mounted indirect on /net with timeout 300, freq 75 seconds
Thanks.
Helmut
--
-------------------------------------------------------------------------
Helmut Lichtenberg <Helmut.Lichtenberg at fli.bund.de> Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany
-------------------------------------------------------------------------
More information about the lxc-users
mailing list