Bug#1106830: initscripts: checkroot.sh returns error and does not attempt to save logs if logfile does not exist

Mark Hindley mark at hindley.org.uk
Wed Sep 24 20:01:23 BST 2025


Bartos-Elekes,

Thanks for this.

On Fri, May 30, 2025 at 09:41:29AM +0200, Bartos-Elekes Zsolt wrote:
> The culprit is the logsave_best_effort function in mount-functions.sh, which
> only runs logsave if the logfile exists, defeating the very purpose of
> logsave.

Thorsten,

this check was introduced by you in commit bb5dfe34[1]. Can you review and see
if it is achieving what you wanted or could be refined?

Thanks

Mark

[1]  https://salsa.debian.org/debian/sysvinit/-/commit/bb5dfe347446749904e031cf364d03357cee821b



More information about the Debian-init-diversity mailing list