Tim:
> A program ought to be able to detect a stale lock file
> still remaining and handle it itself.
Joe Zeff:
And how do you suggest that it detects it?
Other programs manage it, dunno what's so magic about it. It's not a
problem that *I* need to solve.
After a reboot, cron &/or fetchmail reports there was a stale lock and
removes it, I get this email each time:
Cron <tim@rocky> /usr/bin/fetchmail -d 900 (From: (Cron Daemon) <tim@rocky>)
fetchmail: removing stale lockfile
And, in the past, lock files were done in RAM (tmpfs), which was empty
at each boot. So this couldn't happen.
--
uname -rsvp
Linux 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.