[Lxc-users] automount in the container
Daniel Lezcano
daniel.lezcano at free.fr
Fri Sep 24 10:57:15 UTC 2010
On 09/24/2010 12:31 PM, Helmut Lichtenberg wrote:
> 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.
lstat blocks on:
[<ffffffffa0e94b18>] autofs4_wait+0x2e8/0x760 [autofs4]
[<ffffffffa0e92d20>] try_to_fill_dentry+0x110/0x130 [autofs4]
[<ffffffffa0e934d5>] autofs4_revalidate+0x155/0x1f0 [autofs4]
[<ffffffffa0e93fa6>] autofs4_lookup+0x4f6/0x5c0 [autofs4]
[<ffffffff8114d9d2>] real_lookup+0xe2/0x160
[<ffffffff8114f978>] do_lookup+0xb8/0xf0
[<ffffffff811504a5>] __link_path_walk+0x765/0xf80
[<ffffffff81150f3a>] path_walk+0x6a/0xe0
[<ffffffff8115110b>] do_path_lookup+0x5b/0xa0
[<ffffffff81151dd7>] user_path_at+0x57/0xa0
[<ffffffff8114852c>] vfs_fstatat+0x3c/0x80
[<ffffffff8114869b>] vfs_stat+0x1b/0x20
[<ffffffff811486c4>] sys_newstat+0x24/0x50
[<ffffffff810133c5>] tracesys+0xd9/0xde
> 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?
Yes :s
More information about the lxc-users
mailing list