Bug#1034069: /var/log/boot~ is never created

Bjarni Ingi Gislason bjarniig at simnet.is
Fri Apr 7 22:52:17 BST 2023

Package: bootlogd
Version: 3.06-2
Severity: important

Dear Maintainer,

   * What led up to the situation?

/var/log/boot*  was not updated after 28th September 2021.

  File is used in /etc/init.d/bootlogd.

  The conditional code

	if [ -f /var/log/boot ] && [ -f /var/log/boot~ ]
		[ "$VERBOSE" = no ] || log_action_begin_msg "Moving boot log file"
		# bootlogd writes to boot, making backup at boot~
		cd /var/log && {
			chgrp adm boot || :
			savelog -q -p -c 5 boot &&
			    mv boot.0 boot      &&
			    mv boot~ boot.0
		[ "$VERBOSE" = no ] || log_action_end_msg $ES

is therefore never used.

-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.20-1 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages bootlogd depends on:
ii  libc6           2.36-8
ii  sysvinit-utils  3.06-2

bootlogd recommends no packages.

bootlogd suggests no packages.

-- Configuration Files:
/etc/init.d/bootlogd changed [not included]
/etc/init.d/stop-bootlogd [Errno 2] No such file or directory: '/etc/init.d/stop-bootlogd'
/etc/init.d/stop-bootlogd-single [Errno 2] No such file or directory: '/etc/init.d/stop-bootlogd-single'

-- no debconf information

More information about the Debian-init-diversity mailing list