[Bug 592192] New: Install of additional syslog packages modifies /etc/sysconfig/syslog:SYSLOG_DAEMON
http://bugzilla.novell.com/show_bug.cgi?id=592192 http://bugzilla.novell.com/show_bug.cgi?id=592192#c0 Summary: Install of additional syslog packages modifies /etc/sysconfig/syslog:SYSLOG_DAEMON Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mt@novell.com ReportedBy: lmuelle@novell.com QAContact: qa@suse.de Found By: Customer Blocker: --- With the current packaging %post script of syslog, syslog-ng, and rsyslog the setting of /etc/sysconfig/syslog:SYSLOG_DAEMON is changed with any install or update. This issue was discussed at the openSUSE mailing list in the http://lists.opensuse.org/opensuse/2010-03/msg01375.html thread. The setting must only be changed if the currently configured binary is no longer installed. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c1
Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c2
--- Comment #2 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c3
--- Comment #3 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c4
Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c5
--- Comment #5 from Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c6
Marius Tomaschewski
Created an attachment (id=351367) --> (http://bugzilla.novell.com/attachment.cgi?id=351367) [details] output of the removal and install of the rsyslog case
Yes, your attachments shows, that it works correctly. You've removed the active service and it disabled itself (SYSLOG_DAMON=""); exactly as requested. Then you've installed one and it took over. In this case it was the same and it set SYSLOG_DAEMON=rsyslogd again. When you install a syslog daemon additionally, e.g. you have SYSLOG_DAEMON set to syslog-ng, rsyslog will not take over: + 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 '!=' rsyslogd + test -z syslog-ng + test '!' -x sbin/syslog-ng + test no = yes ^^^^^^^^^^^^^ The sed call is not executed and SYSLOG_DAEMON is still syslog-ng. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c7
--- Comment #7 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=592192
http://bugzilla.novell.com/show_bug.cgi?id=592192#c8
--- Comment #8 from Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com