News for hackers. Stuff that matters.
Re:File Locks on Linux by JdeBP on Wednesday May 10, 2023 @06:21AM (#35885594)
Exactly. Nothing at all is wrong with it.

Whereas rotating logs as aforegiven, locked or otherwise, has an unfixable race condition where logs can grow without bounds, because it divorces the log rotater from the log writer. The aforegiven tooling is merely wallpapering over huge cracks and not fixing the actual problems, which were, ironically, fixed with better tooling as long ago as the 1990s.

* https://jdebp.uk/FGA/do-not-use-logrotate.html

Re:File Locks on Linux by miohtama on Wednesday May 10, 2023 @09:23AM (#35886976)
Luckily everyone is using journald nowadays and do not need to worry about this (: