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

Bug#636162: busybox-syslogd: it doesn't start on hurd



Package: busybox-syslogd
Version: 1:1.18.5-1
Severity: normal

On hurd, syslogd (busybox) process doesn't start with -C128 option (didn't
investigate further) and init scripts check if running by looking for klogd and
syslogd basenames in /proc/[0-9]*/stat files whereas on hurd there are fullnames
in such files. Attached patch points that out.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages busybox-syslogd depends on:
ii  busybox                       1:1.18.5-1 Tiny utilities for small and embed

busybox-syslogd recommends no packages.

busybox-syslogd suggests no packages.

-- Configuration Files:
/etc/default/busybox-syslogd changed [not included]
/etc/init.d/busybox-klogd changed [not included]
/etc/init.d/busybox-syslogd changed [not included]

-- no debconf information
diff --git a/debian/busybox-syslogd.busybox-klogd.init b/debian/busybox-syslogd.busybox-klogd.init
index 9acda52..4e9bed6 100644
--- a/debian/busybox-syslogd.busybox-klogd.init
+++ b/debian/busybox-syslogd.busybox-klogd.init
@@ -79,7 +79,7 @@ stop_server() {
 }
 
 running() {
-    cut -d ' ' -f 1-2 /proc/[0-9]*/stat 2> /dev/null | grep -F "($NAME)"
+    cut -d ' ' -f 1-2 /proc/[0-9]*/stat 2> /dev/null | grep -F "($DAEMON)"
 }
 
 case "$1" in
diff --git a/debian/busybox-syslogd.default b/debian/busybox-syslogd.default
index bc9a28f..4518307 100644
--- a/debian/busybox-syslogd.default
+++ b/debian/busybox-syslogd.default
@@ -3,5 +3,6 @@
 
 # Additional options that are passed to the daemons.  Default is to log
 # to ring buffer (to be read with logread(1)) and drop duplicates.
-SYSLOG_OPTS="-C128"
+#SYSLOG_OPTS="-C128"
+SYSLOG_OPTS=""
 KLOG_OPTS=""
diff --git a/debian/busybox-syslogd.init b/debian/busybox-syslogd.init
index f489dd2..5b93259 100644
--- a/debian/busybox-syslogd.init
+++ b/debian/busybox-syslogd.init
@@ -79,7 +79,7 @@ stop_server() {
 }
 
 running() {
-    cut -d ' ' -f 1-2 /proc/[0-9]*/stat 2> /dev/null | grep -F "($NAME)"
+    cut -d ' ' -f 1-2 /proc/[0-9]*/stat 2> /dev/null | grep -F "($DAEMON)"
 }
 
 case "$1" in

Reply to: