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

Dmitry Bogatov KAction at debian.org
Tue Jan 1 22:38:17 GMT 2019


control: tags -1 +fixed-upstream

[2018-12-29 14:44] Jesse Smith <jessefrgsmith at yahoo.ca>
> > 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.

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20190101/5785a39b/attachment.sig>


More information about the Debian-init-diversity mailing list