Bug#1034069: /var/log/boot~ is never created
Mark Hindley
mark at hindley.org.uk
Thu Apr 13 17:51:54 BST 2023
Ingo,
On Thu, Apr 13, 2023 at 06:04:04PM +0200, Ingo Brückl wrote:
> On Wed, 12 Apr 2023 09:58:27 +0100 Mark Hindley <mark at hindley.org.uk> wrote:
>
> > + savelog -q -p -n -c 5 /var/log/boot
>
> What about:
>
> [ -e /etc/logrotate.d/boot ] || savelog -q -p -n -c 5 /var/log/boot
I am not convinced that logrotate is a better tool here. It is designed for
the routine rotation of logs. /var/log/boot is written at the end of the boot
process and then is unchanged until the next boot. Savelog makes more sense to
me for that use.
Or am I missing your point?
Thanks
Mark
More information about the Debian-init-diversity
mailing list