On Tue, 2011-01-11 at 18:34 +0200, Michael Orlov wrote:
> Hi,
> 
> (I have sent this message on Oct 27, but nothing appears in the
> archives for that month - hopefully it's not a duplicate message.)
> 
> I think this is a bug - if it is not, I will be glad if someone
> corrects me. I am using autofs on Gentoo.

You will need to duplicate this with all the current 5.0.5 patches on
kernel.org applied to get serious interest in this here.

> 
> In auto.master, put
>   /mnt/test  /etc/auto.test  --ghost
> 
> In auto.test, put
>   floppy -fstype=auto :/dev/fd0
> (or anything similar)
> 
> 1. start autofs
> 2. see that /mnt/test/floppy exists
> 3. remove or comment out the "floppy" line in auto.test
> 4. send SIGHUP to autofs
> 
> After these actions, in autofs 5.0.4 / 5.0.5 (but not
> 5.0.3), /mnt/test/floppy still exists - it is not removed after SIGHUP.
> 
> This is problematic, for example, when auto.test is maintained via
> udev. Full restart of a service from a udev-invoked script is very
> error-prone.
> 
> Thanks,
> Michael
> 
> _______________________________________________
> autofs mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to