[Bug 271315] etcupdate add log rotation instead of overwriting it
Date: Mon, 08 May 2023 14:24:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271315 Bug ID: 271315 Summary: etcupdate add log rotation instead of overwriting it Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: 000.fbsd@quip.cz Created attachment 242060 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242060&action=edit simple log rotation Since I have a problem reported in PR 271287, it has been difficult to find out what goes wrong because the log file is overwritten each time "etcupdate" runs, only some subcommands append to the log file. I suggest 2 solutions: 1) always append and let newsyslog rotate the log file 2) add some simple log rotation to etcupdate (patch attached) -- You are receiving this mail because: You are the assignee for the bug.