Re: [opensuse] Why has syslog-ng changed to rsyslog?



Anton Aylward wrote:
Peter Suetterlin said the following on 03/29/2010 11:33 AM:

What I wanted to say is just by 'zypper in syslog-ng' that is not going to
automatically make use of it.

If that's what you meant .. perhaps you should have said it. :-)

Hum, yeah. I'll try. Next time....

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.

and that one is the interesting part. In the other posting Lars said that
this script(*) only changes the logger if there is none defined, or the
currently defined one does not point to an existing program.
And my trial-install with an existing rsyslog seems to confirm that.

(*) you can check it with rpm -q --scripts syslog-ng but it's rather cryptic
imho...

When I reinstalled syslog-ng on the laptop without removing rsyslog I
saw the installation scripts replace the /etc/sysconfig/syslog with the
one for syslog-ng.

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

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...

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.

Pit
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx