On Tue, Feb 27, 2024 at 12:45 PM Joe Zeff <joe@xxxxxxx> wrote: > > On 02/27/2024 10:39 AM, Tim via users wrote: > > A program ought to be able to detect a stale lock file > > still remaining and handle it itself. > > And how do you suggest that it detects it? I can think of 2 ways off the top of my head.... 1) put the lockfile in a memory-based file system like /tmp, /run, etc. This is probably the "correct" way. 2) compare when the system was booted against when the lock file was created. If boot time > lock file time, lock file is stale. -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue