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

Bjarni Ingi Gislason bjarniig at rhi.hi.is
Sat Aug 24 02:20:00 BST 2019


On Thu, Aug 22, 2019 at 12:05:27PM +0000, Dmitry Bogatov wrote:
> 
> 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?
> 
  My current version is from the testing distribution and I see no
problem with that (and I use a faster computer).

> > --- 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.

  This report can therefore be closed.

-- 
Bjarni I. Gislason




More information about the Debian-init-diversity mailing list