Your message dated Sun, 21 Oct 2007 21:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#419165: fixed in syslog-ng 2.0.5-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: syslog-ng
Version: 2.0.0-1
Severity: normal
Tags: patch
Please use the logging functions defined by lsb instead of calling echo
directly. This makes it possible to customize the output and send it to
boot splash systems like splashy or usplash.
A proposed patch is attached.
In addition you should add a versions Depend on lsb-base (>= 3.0-6)
Cheers,
Michael
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-rc6
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages syslog-ng depends on:
ii libc6 2.5-1 GNU C Library: Shared libraries
Versions of packages syslog-ng recommends:
ii logrotate 3.7.1-3 Log rotation utility
-- no debconf information
--- syslog-ng.orig 2007-04-14 04:31:42.000000000 +0200
+++ syslog-ng 2007-04-14 04:45:01.000000000 +0200
@@ -25,6 +25,10 @@
#we source /etc/default/syslog-ng if exists
[ -r /etc/default/syslog-ng ] && . /etc/default/syslog-ng
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
case "x$CONSOLE_LOG_LEVEL" in
x[1-8])
dmesg -n $CONSOLE_LOG_LEVEL
@@ -32,13 +36,13 @@
x)
;;
*)
- echo "CONSOLE_LOG_LEVEL is of unaccepted value."
+ log_warning_msg "CONSOLE_LOG_LEVEL is of unaccepted value."
;;
esac
if [ -n "$KERNEL_RINGBUF_SIZE" ]
then
- echo "KERNEL_RINGBUF_SIZE option is useless and therefore removed."
+ log_warning_msg "KERNEL_RINGBUF_SIZE option is useless and therefore
removed."
fi
# stop syslog-ng before changing its PID file!
@@ -55,30 +59,35 @@
}
syslogng_start() {
- echo -n "Starting system logging: $NAME"
- start-stop-daemon --start --quiet --exec "$SYSLOGNG" --pidfile "$PIDFILE"
-- -p "$PIDFILE" \
- || { echo " start failed."; return 1; }
- echo "."
- return 0
+ log_daemon_msg "Starting system logging" "$NAME"
+ start-stop-daemon --start --quiet --exec "$SYSLOGNG" \
+ --pidfile "$PIDFILE" -- -p "$PIDFILE"
+ RET="$?"
+ log_end_msg $RET
+ return $RET
}
syslogng_stop() {
- echo -n "Stopping system logging: $NAME"
- start-stop-daemon --stop --quiet --name "$NAME" --retry 3 --pidfile
"$PIDFILE" || { echo " not running."; return 1; }
- echo "."
+ log_daemon_msg "Stopping system logging" "$NAME"
+ start-stop-daemon --stop --quiet --name "$NAME" --retry 3 \
+ --pidfile "$PIDFILE"
+ RET="$?"
+ log_end_msg $RET
rm -f "$PIDFILE"
- return 0
+ return $RET
}
syslogng_reload() {
- echo -n "Reload system logging: $NAME"
+ log_daemon_msg "Reload system logging" "$NAME"
if /sbin/syslog-ng -s
then
- start-stop-daemon --stop --signal 1 --quiet --exec "$SYSLOGNG" --pidfile
"$PIDFILE" || return 1
- echo "."
- return 0
+ start-stop-daemon --stop --signal 1 --quiet --exec "$SYSLOGNG" \
+ --pidfile "$PIDFILE"
+ RET="$?"
+ log_end_msg $?
+ return $RET
else
- echo " Failed"
+ log_end_msg 1
return 1
fi
}
--- End Message ---
--- Begin Message ---
Source: syslog-ng
Source-Version: 2.0.5-2
We believe that the bug you reported is fixed in the latest version of
syslog-ng, which is due to be installed in the Debian FTP archive:
syslog-ng_2.0.5-2.diff.gz
to pool/main/s/syslog-ng/syslog-ng_2.0.5-2.diff.gz
syslog-ng_2.0.5-2.dsc
to pool/main/s/syslog-ng/syslog-ng_2.0.5-2.dsc
syslog-ng_2.0.5-2_i386.deb
to pool/main/s/syslog-ng/syslog-ng_2.0.5-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
SZALAY Attila <[EMAIL PROTECTED]> (supplier of updated syslog-ng package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 21 Oct 2007 22:42:09 +0200
Source: syslog-ng
Binary: syslog-ng
Architecture: source i386
Version: 2.0.5-2
Distribution: unstable
Urgency: low
Maintainer: SZALAY Attila <[EMAIL PROTECTED]>
Changed-By: SZALAY Attila <[EMAIL PROTECTED]>
Description:
syslog-ng - Next generation logging daemon
Closes: 409620 419165 436521
Changes:
syslog-ng (2.0.5-2) unstable; urgency=low
.
* Changed init information printing method to lsb. (applied the patch from
Michael Biebl <[EMAIL PROTECTED]>) (Closes: #419165)
* When removing syslog-ng stop it in prerm. (Closes: #436521)
* Added a new option into the default config to circumvent a logging bug
in gconfd. (Closes: #409620)
Files:
35fc01ebd6a7ee7c6037d3e8abf6cfdc 620 admin extra syslog-ng_2.0.5-2.dsc
91d10176ea3710c1676dc5cc6ed8be93 11037 admin extra syslog-ng_2.0.5-2.diff.gz
8b70fd4f60b1ca8c5d654ab0e7829d18 186328 admin extra syslog-ng_2.0.5-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHG7zz23Gu/Kug6LIRArNFAJ9r6tgQ6xZgdr27sY7vhenwGRRPbACgojUF
aCzrUqw4aYarFfPFzQ66ZwI=
=dVx8
-----END PGP SIGNATURE-----
--- End Message ---