Package:  postgresql-8.3
Version:  8.1.4-4
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 the postgresql-8.3 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, the script need
a mounted /usr/ and should thus depend on $remote_fs, not $local_fs.

Here is a patch to solve these issues.

diff -ur postgresql-8.3-8.3.0.orig/debian/postgresql-8.3.init 
postgresql-8.3-8.3.0/debian/postgresql-8.3.init
--- postgresql-8.3-8.3.0.orig/debian/postgresql-8.3.init        2008-03-14 
17:51:15.000000000 +0100
+++ postgresql-8.3-8.3.0/debian/postgresql-8.3.init     2008-03-14 
17:52:20.000000000 +0100
@@ -2,12 +2,12 @@

 ### BEGIN INIT INFO
 # Provides:            postgresql postgresql-8.3
-# Required-Start:      $local_fs $network $time
-# Required-Stop:       $local_fs $network $time
-# Should-Start:                $syslog $remote_fs
-# Should-Stop:         $syslog $remote_fs
+# Required-Start:      $remote_fs $network $time
+# Required-Stop:       $remote_fs $network $time
+# Should-Start:                $syslog
+# Should-Stop:         $syslog
 # Default-Start:       2 3 4 5
-# Default-Stop:                S 0 1 6
+# Default-Stop:                0 1 6
 # Short-Description:   PostgreSQL 8.3 RDBMS server
 ### END INIT INFO




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

Reply via email to