Red Hat Bugzilla – Bug 172885
syslog-ng gets removed when sysklod is updated
Last modified: 2007-11-30 17:11:16 EST
Description of problem:
syslog-ng is removed when the sysklogd RPM is updated
Steps to Reproduce:
1) system with sysklogd installed
2) install syslog-ng (in Fedora Extras)
3) build/install a sysklogd RPM with a bigger NVR
the syslog-ng package is removed from the system.
The system loses its log daemon if the syslog-ng is the active one.
Be able to keep the syslog-ng package installed
I believe the the problem is caused by the Provides statementÂ·
I had to include in syslog-ng specfile:
"Provides: sysklogd = 1.4.1-99"
The above statement allows sysadmins to remove sysklogd and
leave only syslog-ng installed. The problem is that sysklogd
is required by the initscripts and the vixie-cron packages.
Example (FC4 system):
$ rpm -e --test sysklogd
error: Failed dependencies:
sysklogd >= 1.3.31 is needed by (installed) \
sysklogd >= 1.3.33-6 is needed by (installed) \
I believe a possible solution would involve using
a neutral name (e.g.: syslog) that both daemon - sysklogd
and syslog-ng - would provide. This solution requires changing
the following Core packages:
1) sysklogd (provide statement)
2) initscripts (require statement)
3) vixie-cron (require statement)
This seems like a reasonable approach to me. Bill, Jason -- any concerns?
OK, I'll change sysklogd and vixie cron:
sysklogd: 'Provides: syslog-1.4.1'
(but it will still also Provides:sysklogd-1.4.1 by default)
vixie-cron: 'Requires: syslog >= 1.4.1'
Realistically, I don't think the virtual provide needs versioned.
sysklogd: Provides: syslog
vixie-cron: Requires: syslog
vixie-cron: Conflicts: sysklogd < 1.4.1
Now that test1 has been released would it be possible to have these changes
committed in the next few days?
Thanks in advance,
PS - syslog-ng 1.6.9 has been released today ()
 [syslog-ng] syslog-ng 1.6.9 released
 Syslog-ng roadmap (v2.0 and v2.2)
Jeremy, Bill, and Jason,
Would it be possible to have
sysklogd providing syslog and
initscripts and vixie-cron requiring syslog instead of sysklogd
If I upload the patches, would it help?
Thanks in advance,
OK, I'll submit a new version of sysklogd that provides: syslog today -
patches not required - thanks.
Thanks for the updated packages:
Problem solved with above rawhide updates and syslog-ng-1.6.9-2 from Fedora
Extras development branch (syslog-ng-1.6.9-2.fc5 also started providing syslog).