Bug#672361: bootlogd: escape sequences should be filtered out

Dmitry Bogatov KAction at debian.org
Mon Aug 12 20:30:46 BST 2019


control: tags -1 +fixed-upstream

[2019-08-11 17:57] Jesse Smith <jsmith at resonatingmedia.com>
> > Please, don't. Issue with '\r' can be resolved by removal of '\r' in
> > `bin:lsb-base'.
>
> Okay, I'll do an option for completely unfiltered and other tools and be
> adjusted to match.

Thank you very much.

> > With filtering as implemented now `/var/boot/log' looks bad both in editor
> > and terminal. Example:
> >
> >   Fri Feb 22 18:42:36 2019: [....] Not activating swap on logical volume. ...??7[warn8?? (warning).
> >   Fri Feb 20 18:42:36 2019: [....] Starting early crypto disks...sda3_crypt (running)...??7[ ok 8??done.
>
> For situations like this where you already have a log with escape
> characters in it, you can fix the output by using the readbootlog
> program, which is part of the sysvinit suite. It cleans out most of the
> control characters so the log looks like a normal, plain-text file.

Fragment above does not contain escape sequences. Those question marks
are literal (0x3f) ASCII question marks.

I do now know what and when converted ASCII escape symbols into question
marks.
-- 
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