Mailinglist Archive: opensuse-bugs (6458 mails)

< Previous Next >
[Bug 256671] syslog default wrong, cannot detect installed syslog variant
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 2 May 2007 05:46:02 -0600 (MDT)
  • Message-id: <20070502114602.EB3F925C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=256671





------- Comment #12 from mt@xxxxxxxxxx  2007-05-02 05:46 MST -------
Done.
See mbuild jobs app-team-mt-313 .. 316 or RPMs at
 http://w3.suse.de/~mt/syslog/bug-256671/v2/

I've added some code reseting the variable in spec files
(the syslog-ng variant here; untested until now):

%postun
[...]
+# reset SYSLOG_DAEMON variable
+if test -f etc/sysconfig/syslog ; then
+  source etc/sysconfig/syslog
+  if test "$SYSLOG_DAEMON" == "syslog-ng" ; then
+    sed -i -e 's/^SYSLOG_DAEMON=.*/SYSLOG_DAEMON=""/g' \
+              etc/sysconfig/syslog
+  fi
+fi


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >