Peter Suetterlin said the following on 03/29/2010 05:44 PM: . ..
And I still think you are wrong. Installing syslog-ng with zypper/rpm fires off an installation script that changes the sysconfig file to make use of it.
[...]
You mean the line Updating etc/sysconfig/syslog... Yes, seen that, too. That means the script runs and investigates *if* something is to be done. In my case, it didn't
When I look at the postinstall part of the syslog-ng installation I see this: # check if daemon configured in SYSLOG_DAEMON is installed # and switch to ourself if it's missed # source etc/sysconfig/syslog replace_syslog=no if test "$SYSLOG_DAEMON" != "syslog-ng" ; then if test -z "$SYSLOG_DAEMON" || \ test ! -x sbin/${SYSLOG_DAEMON} ; then replace_syslog=yes fi fi if test "$replace_syslog" = "yes" ; then sed -i -e 's/^SYSLOG_DAEMON=.*/SYSLOG_DAEMON="syslog-ng"/g' \ etc/sysconfig/syslog fi There we are. Its editing the etc/sysconfig/syslog file. This would happen if, for example, there was a SYSLOG_DAEMON="rsyslog" in there.
Duh? Just did that and it *did* install a new sysconfig file.
Which is the weird part. Following Lars you should report this as a bug...
I think you have that logic backward. As I see it, whichever is installed LAST is the one you want to use.
It makes sense not to change the logger that is running just because it is newly installed. After all, the sysadmin may want to change parameters of the logger's config file.
Well, it's a good thing(tm) not to change any system configuration unless explicitely requested, and SuSE has been very good at this in the last years.
Hang on a moment. Doesn't installing a service mean you want to use it? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org