Bug#934502: Bug#672361: Bug#934502: lsb-base: avoid '\r' in logging functions

Vincent Lefevre vincent at vinc17.net
Wed Aug 14 21:34:59 BST 2019

On 2019-08-14 19:21:01 +0000, Dmitry Bogatov wrote:
> [2019-08-13 16:48] Thorsten Glaser <t.glaser at tarent.de>
> > > Please, change format to following:
> >
> > just run:
> >
> > 	sudo sh -c 'echo FANCYTTY=0 >>/etc/lsb-base-logging.sh'
> > (On the other hand, now that “most” people, and especially the target
> > group of “fancy” logging, is using systemd instead, perhaps it’s time
> > to remove the fancy code entirely and go back to the classical output
> > entirely?)
> I support this proposal. Any objections, collegues?

I think that there are no big issues with colors (all terminals and
"less" can handle them) and they can be useful to see failures more
easily. Thus I think that they shoud be kept.

/lib/lsb/init-functions.d/20-left-info-blocks is what should be
dropped actually since it involves cursor movements and is not
much useful. Moreover, the output can be wrong when the program
outputs warnings or error messages.

Then bootlogd should not do any filtering.

Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the Debian-init-diversity mailing list