Package:  syslog-ng
Version:  2.0.9-1
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-provides

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  The provides used should be unique, and
the current one is in conflict with the inetutils-syslogd package.
The $syslog virtual dependency already include the syslog-ng entry, so
any systems using syslog-ng and dependency based boot sequencing would
notice any difference, while all those trying to switch between
inetutils-syslogd and syslog-ng will no longer have the transition
fail.  The inetutils-syslogd package will have to change to, but first
the next insserv version need to be uploaded. :)

<URL: 
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
 >
documents the LSB header format.  Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.

This patch should solve the issue.  Without it, the package will fail
to install if inetutils-syslogd was installed previously.

diff -ur syslog-ng-2.0.9/debian/syslog-ng.init 
syslog-ng-2.0.9-pere/debian/syslog-ng.init
--- syslog-ng-2.0.9/debian/syslog-ng.init       2009-08-20 13:47:29.000000000 
+0200
+++ syslog-ng-2.0.9-pere/debian/syslog-ng.init  2009-08-20 13:48:31.000000000 
+0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          syslog
+# Provides:          syslog-ng
 # Required-Start:    $local_fs $network $time $remote_fs
 # Required-Stop:     $local_fs $network $time $remote_fs
 # Default-Start:     2 3 4 5

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to