[Bug 55223] Re: HAL stats nfs and autofs mounts, preventing autofs timeouts from working

Jason McMullan jason.mcmullan at gmail.com
Wed Nov 15 14:21:41 UTC 2006


I do believe your test case is not testing what the patch solves.

The problem I was trying to solve was that after autofs mounted a location, hald would stat that mount
on a regular basis, preventing the autofs auto-unmount timeouts from expiring and unmounting the
mount.

A proper test would be:

$ df | grep '/net/some.nfs.server/foo'
(expected: nothing)
$ ls -l /net/some.nfs.server/foo
$ df | grep '/net/some.nfs.server/foo'
(expected: mount info for /net/some.nfs.server/foo)
$ sleep 120 (or whatever your autofs timeout is)
$ df | grep '/net/some.nfs.server/foo'
(expected: nothing)

-- 
HAL stats nfs and autofs mounts, preventing autofs timeouts from working
https://launchpad.net/bugs/55223




More information about the desktop-bugs mailing list