Anton Aylward wrote:
Peter Suetterlin said the following on 03/29/2010 08:30 AM:
Why, if I installed syslog-ng later, does it not 'replace' rsyslog?
Well, you can install many things without actually running them...
That's an unhelpful comment, Peter.
Why? What I wanted to say is just by 'zypper in syslog-ng' that is not going to automatically make use of it.
Syslog isn't something YOU run, its a system service started by the appropriate /etc/init.d file for the run-level
Indeed. It starts one of several possible syslog programs.
So long as there is a /etc/init.d/rc?.d/S03syslog and the entry in /etc/sysconfig/syslog for it to read then the syslog program will be run.
Correct. But if rsyslog is installed (which it is in default 11.2 installation), /etc/sysconfig/syslog will point to it as the program to run.
So, I refreshed (reinstalled) syslog-ng. part of the install script was to update /etc/sysconfig/syslog.
OK, haven't checked that - my fault. But I just confirmed (by installing syslog-ng) that this does *not* change the logging program. Looks like it finds a defined SYSLOG_DAEMON and does not overwrite it (which makes sense to me, i.e., only set it if there is nothing defined so far). So even after the install of syslog-ng your /etc/sysconfig/syslog would have pointed to rsyslogd unless you changed it to run syslog-ng
So, which ever is installed last *should* change /etc/sysconfig/syslog to make use of that.
See above - no. The reason why it should not goes back to my remark about installing and actually using software... So are you sure that syslog-ng actually ever ran on those machines? Or is it now the first time you need logging info from those hosts and see that it's not running? Pit -- Dr. Peter "Pit" Suetterlin http://www.astro.su.se/~pit Institute for Solar Physics Tel.: +34 922 405 590 (Spain) P.Suetterlin@royac.iac.es +46 8 5537 8507 (Sweden) Peter.Suetterlin@astro.su.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org