Bug#808999: init.d/bootlogd: Last two lines are missing from the log

Dmitry Bogatov KAction at debian.org
Thu Aug 22 13:05:27 BST 2019


control: tags -1 +moreinfo

[ Sorry for late response ]

[2015-12-25 23:06] Bjarni Ingi Gislason <bjarniig at rhi.hi.is>
> Package: bootlogd
> Version: 2.88dsf-59
> Severity: minor
> Tags: patch
>
> Dear Maintainer,
>
>    * What led up to the situation?
>
>   Checking the file /var/log/boot
>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>
>   The usual last line "[....] Stopping boot logger: bootlogd" was not
> in the log

I can't reproduce problem. Maybe it was fixed during last four years?
Can you please check again?

> --- bootlogd	2015-12-25 18:58:23.000000000 +0000
> +++ bootlogd.new	2015-12-25 22:24:32.000000000 +0000
> @@ -54,10 +54,15 @@ case "$ACTION" in
>    stop)
>  	PATH=/bin:/sbin:/usr/bin:/usr/sbin
>  	[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
> +# Finish the line before the daemon stops and give it time to write to its log
> +	printf '\n'
> +	sleep 1

`sleep 1` is not a solution, anyway. I may be too much (likely), it may
be not enough (on slow disks/CPU).

If problem still exists, it should be fixed in boologd source, imho.
-- 
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.




More information about the Debian-init-diversity mailing list