Package: pgpool2 Version: 1.3-1 Severity: important Tags: patch User: [EMAIL PROTECTED] Usertags: incorrect-dependency
I just checked the boot order in unstable on a machine with dependency based boot sequencing enabled, and discovered a problem with the init.d scripts provided in this package. A stop symlink is inserted in the rcS.d/ directory. This is always wrong and 'S' should be removed from the Default-Stop header. Also, it need to depend on $remote_fs to make sure /usr/ is available. This make it possible to drop the $local_fs dependency. Here is a patch to solve this issue. diff -ur pgpool2-1.3.orig/debian/init.d pgpool2-1.3/debian/init.d --- pgpool2-1.3.orig/debian/init.d 2008-03-15 22:51:22.000000000 +0100 +++ pgpool2-1.3/debian/init.d 2008-03-15 22:52:26.000000000 +0100 @@ -2,12 +2,11 @@ ### BEGIN INIT INFO # Provides: pgpool2 -# Required-Start: $syslog -# Required-Stop: $syslog -# Should-Start: $local_fs postgresql -# Should-Stop: $local_fs +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Should-Start: postgresql # Default-Start: 2 3 4 5 -# Default-Stop: S 0 1 6 +# Default-Stop: 0 1 6 # Short-Description: start pgpool-II # Description: pgpool-II is a connection pool server and replication # proxy for PostgreSQL. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

