[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#606280: marked as done (busybox-syslogd: /etc/init.d/busybox-klogd spews garbage on stderr)



Your message dated Thu, 10 Mar 2011 12:55:31 +0300
with message-id <4D78A013.1000406@msgid.tls.msk.ru>
and subject line Re: busybox-syslogd: /etc/init.d/busybox-klogd spews garbage on stderr
has caused the Debian Bug report #606280,
regarding busybox-syslogd: /etc/init.d/busybox-klogd spews garbage on stderr
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
606280: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606280
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox-syslogd
Severity: minor

The `running' shell function in this script (also used in
/etc/init.d/busybox-syslogd) suffers from a minor race-condition that
causes it to emit irrelevant messages on stderr: the /proc/[1-9]*/stat
glob is expanded first and then passed to `cut' which then has
to open those files, but some of them will have disappeared in
the mean time.
A simple fix is to redirect stderr to /dev/null.
Maybe a better fix is to juunk this `running' function and use one of
the standard thingies like start-stop-daemon instead.


	Stefan


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (10, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-rc6-686 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Version: 1:1.17.1-8

07.12.2010 23:17, Stefan Monnier wrote:
> Package: busybox-syslogd
> Severity: minor
> 
> The `running' shell function in this script (also used in
> /etc/init.d/busybox-syslogd) suffers from a minor race-condition that
> causes it to emit irrelevant messages on stderr: the /proc/[1-9]*/stat
> glob is expanded first and then passed to `cut' which then has
> to open those files, but some of them will have disappeared in
> the mean time.

This has been fixed for squeeze but the bug remained open somehow.
Closing it now.

Thanks!


--- End Message ---

Reply to: