Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2023 14:24:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271315] etcupdate add log rotation instead of overwriting it
Message-ID:  <bug-271315-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271315

            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=3D242060&action=
=3Dedit
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" r=
uns,
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271315-227>