[Lxc-users] automount in the container

Helmut Lichtenberg heli at tzv.fal.de
Fri Sep 24 10:31:05 UTC 2010


Some more experiments:

The last lines of an strace look like this:

root at 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)                                = 0
futex(0x7f12728d9f60, FUTEX_WAKE_PRIVATE, 2147483647) = 0
lstat("/net/fs-v1",

I don't understand these internals, but maybe it makes sense for some of you.

With '/etc/init.d/autofs stop' I cannot stop the service, but when I kill the
automount process with signal -9 and start it again with '/etc/init.d/autofs
start' -- then it suddenly works.
I can cd into /net/fs-v1 and have all directories available.

It's reproducable after a reboot.
Strange, isn't it?

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