[Bug 1040900] [NEW] syslog messages truncated to 256 chars during debian-installer run

Dmitrijs Ledkovs launchpad at surgut.co.uk
Fri Sep 28 21:31:35 UTC 2012


On 28 September 2012 21:49, Scott Kitterman <ubuntu at kitterman.com> wrote:
> Has it always been this way or is this some kind of regression.
>

The setting (hardcoded to 256) first appeared in 1.10.2 release in
~2008-06-11, later there was interface introduced to modify that.

I can't quite see how'd it's been limited before 1.10.2 release,
something like there was a file limit 200*1024 bytes, after which it
was rotated =/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/1040900

Title:
  syslog messages truncated to 256 chars during debian-installer run

Status in BusyBox:
  Unknown
Status in “busybox” package in Ubuntu:
  In Progress
Status in “busybox” source package in Precise:
  In Progress

Bug description:
  [Impact]
  Users relying on busybox within their environment and attempting to do any sort of debugging of logs.

  [Test Case]
  Run the installer, parse logs from syslogd packaged within busybox.

  [Regression]
  Minimal, only doubling buffer size for syslogd within busybox.

  
  We're seeing syslog messages during installers runs truncated to 256 chars. This is annoying.

  Digging into the debian-installer source, its calling /sbin/syslogd
  from the initrd - this is a busybox binary. In the busybox source,
  there's a config variable CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE that
  defaults to 256. From the code, that looks to be the problem.

  Can we either -
  1. fix busybox to use a dynamic buffer, or
  2. bump the config variable up to 1024 or so?

  I'm perfectly happy with solution 2 :)

To manage notifications about this bug go to:
https://bugs.launchpad.net/busybox/+bug/1040900/+subscriptions




More information about the foundations-bugs mailing list