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

Vincent Lefevre vincent at vinc17.net
Mon Aug 12 15:57:10 BST 2019

On 2019-08-12 11:14:48 -0300, Jesse Smith wrote:
> On 8/12/19 4:20 AM, Vincent Lefevre wrote:
> > On 2019-08-11 17:57:18 -0300, Jesse Smith wrote:
> >> 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.
> > It does not seem to be in Debian (not installed by default, not found
> > by "apt-file search readbootlog").
> >
> Which version of sysvinit do you have installed? You'd need a version
> from around 2.90 or newer.

sysvinit-core 2.95-4

> >> There might be problems with some implementations of these utilities
> >> due to binary data, but AFAIK, coreutils implementation is fine with
> >> escape sequences.
> They are not. As I mentioned above, I tested this.

This is a problem with your machine. I also tested (with the coreutils
versions) and I don't have any problem on mine.

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