Re: locks and shutdown policy; was Re: stale lockfile on fetchmail.
On Mon, Feb 11, 2008 at 04:58:57PM -0700, peasthope@shaw.ca wrote:
> Andrew, Ron & others,
>
> a> probably because fetchmail died (or ...
>
> Which can happen if a power failure occurs
> or I happen to reboot while fetchmail is
> retrieving.
>
> This strikes me as a bug. An obvious strategy
> would be to remove an old lock at startup.
fetchmail cleans that stale lock on (its) startup. That lock may be in
the user's home directory.
>
> I know nothing about shutdown policy. Does
> shutdown allow an application any leeway?
> Can a second or two of delay be invoked
> _via_ the xfsm-shutdown-helper?
fetchmail is a daemon, and thus not part of a desktop. I don't suppose
that this could be handled in the SIGKILL signal handler either.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: