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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to