All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs 5.0.4 and 5.0.5 do not remove ghost entries upon SIGHUP
@ 2011-01-11 16:34 Michael Orlov
  2011-01-13  7:50 ` Ian Kent
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Orlov @ 2011-01-11 16:34 UTC (permalink / raw)
  To: autofs

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.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* autofs 5.0.4 and 5.0.5 do not remove ghost entries upon SIGHUP
@ 2010-10-27 21:35 Michael Orlov
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Orlov @ 2010-10-27 21:35 UTC (permalink / raw)
  To: autofs

Hi,

I think this is a bug - if it is not, I will be glad if someone
corrects me. I am using autofs on Gentoo.

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 / 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-01-14  7:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 16:34 autofs 5.0.4 and 5.0.5 do not remove ghost entries upon SIGHUP Michael Orlov
2011-01-13  7:50 ` Ian Kent
2011-01-13  9:16   ` Ian Kent
2011-01-13 14:36     ` Michael Orlov
2011-01-14  2:56       ` Ian Kent
2011-01-14  7:23         ` Michael Orlov
  -- strict thread matches above, loose matches on Subject: below --
2010-10-27 21:35 Michael Orlov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.