Bug#671589: bootlog does not work if the kernel boot command line is too long

Jesse Smith jessefrgsmith at yahoo.ca
Sat Dec 29 18:44:57 GMT 2018


> 
> Jesse, can you please take a look? While I believe that 4Kb for kernel
> command line is enough, you might prefer to use getline(3).
> 
> As I can see bootlogd.c already uses stdio.h, but is malloc-free. Use of
> getline(3) would break this wonderful propery :(


I have accepted the patch to make the kernel command line buffer 4kB,
with a small modification. The size of the buffer is defined as
KERNEL_COMMAND_LENGTH so it'll be easy for distributions to patch it to
be larger or smaller as required.

- Jesse




More information about the Debian-init-diversity mailing list