http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c8
--- Comment #8 from Marius Tomaschewski 2010-03-30 10:56:28 UTC ---
When you have an active syslog-ng and just update it, syslog-ng
remains active:
+ source etc/sysconfig/syslog
++ KERNEL_LOGLEVEL=1
++ SYSLOGD_PARAMS=
++ KLOGD_PARAMS=-x
++ SYSLOG_DAEMON=syslog-ng
++ RSYSLOGD_COMPAT_VERSION=
++ RSYSLOGD_PARAMS=
++ SYSLOG_NG_PARAMS=
++ RSYSLOGD_NATIVE_VERSION=4
+ replace_syslog=no
+ test syslog-ng '!=' syslog-ng
+ test no = yes
Also when the update is broken and removes first, it works:
*** while remove, it resets itself:
+ source etc/sysconfig/syslog
++ KERNEL_LOGLEVEL=1
++ SYSLOGD_PARAMS=
++ KLOGD_PARAMS=-x
++ SYSLOG_DAEMON=syslog-ng
++ RSYSLOGD_COMPAT_VERSION=
++ RSYSLOGD_PARAMS=
++ SYSLOG_NG_PARAMS=
++ RSYSLOGD_NATIVE_VERSION=4
+ test syslog-ng == syslog-ng
+ sed -i -e 's/^SYSLOG_DAEMON=.*/SYSLOG_DAEMON=""/g' etc/sysconfig/syslog
*** while reinstall, it sets to itself again:
+ source etc/sysconfig/syslog
++ KERNEL_LOGLEVEL=1
++ SYSLOGD_PARAMS=
++ KLOGD_PARAMS=-x
++ SYSLOG_DAEMON=
++ RSYSLOGD_COMPAT_VERSION=
++ RSYSLOGD_PARAMS=
++ SYSLOG_NG_PARAMS=
++ RSYSLOGD_NATIVE_VERSION=4
+ replace_syslog=no
+ test '' '!=' syslog-ng
+ test -z ''
+ replace_syslog=yes
+ test yes = yes
+ sed -i -e 's/^SYSLOG_DAEMON=.*/SYSLOG_DAEMON="syslog-ng"/g'
etc/sysconfig/syslog
Only when you install another daemon in the time between, it changes:
SYSLOG_DAEMON=syslog-ng
- remove syslog-ng
SYSLOG_DAEMON=""
- install rsyslog
SYSLOG_DAEMON="rsyslogd"
- install syslog-ng
SYSLOG_DAEMON="rsyslogd"
But in this case, this was a request to switch + install additional one.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.