Bug#324816: syslog-ng: CONSOLE_LOG_LEVEL and KERNEL_RINGBUF_SIZE is of unaccepted value.

2005-08-25 Thread Szalay Attila
On sze, 2005-08-24 at 10:25 +0200, Marc Haber wrote:

 When starting syslog-ng with /etc/default/syslog-ng untouched, the two
 warnings
 CONSOLE_LOG_LEVEL is of unaccepted value.
 KERNEL_RINGBUF_SIZE is of unaccepted value.
 are printed. This is a policy violation, and can be fixed by applying
 this patch.

The fixed version of syslog-ng reached proposed-updates yesterday as
version 1.6.5-3



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#324816: syslog-ng: CONSOLE_LOG_LEVEL and KERNEL_RINGBUF_SIZE is of unaccepted value.

2005-08-24 Thread Marc Haber
Package: syslog-ng
Version: 1.6.5-2.2
Severity: normal

# done -1 1.6.7-2 mail pending once this bug has a number

[this is a re-file of #396315, which is already fixed in 1.6.7-2 in
sid and etch]



When starting syslog-ng with /etc/default/syslog-ng untouched, the two
warnings
CONSOLE_LOG_LEVEL is of unaccepted value.
KERNEL_RINGBUF_SIZE is of unaccepted value.
are printed. This is a policy violation, and can be fixed by applying
this patch.

--- ./syslog-ng 2005-08-24 10:21:05.0 +0200
+++ /etc/init.d/syslog-ng   2005-08-24 10:21:53.0 +0200
@@ -20,6 +20,8 @@
x[0-7])
dmesg -n $CONSOLE_LOG_LEVEL
;;
+   x)
+   ;;
*)
echo CONSOLE_LOG_LEVEL is of unaccepted value.
;;
@@ -29,6 +31,8 @@
x[0-9]*)
dmesg -s $KERNEL_RINGBUF_SIZE
;;
+   x)
+   ;;
*)
echo KERNEL_RINGBUF_SIZE is of unaccepted value.
;;

Greetings
Marc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]