reopen 541873
found 3.17-4
thanks

[Debian Bug Tracking System]
> This is an automatic notification regarding your Bug report which
> was filed against the quota package:
> 
> #541873: quota: Incorrect runlevels and dependencies in init.d script
> 
> It has been closed by Michael Meskes <[email protected]>.

I just discoverd in the piupart log that the quota package have bad
init.d script headers or package dependencies.  The log is at
<URL: http://piuparts.debian.org/sid/fail/quota_3.17-4.log >.

The package fail to install with this error when portmap isn't
installed:

  Setting up quota (3.17-4) ...
  insserv: Service portmap has to be enabled to start service quotarpc
  insserv: exiting now!
  dpkg: error processing quota (--configure):
   subprocess installed post-installation script returned error exit status 1

The fix is either to make the $portmap init.d script dependency
optional, or make the portmap package a dependency instead of a
suggests.  I suspect the suggests is correct, and propose this patch
to make the init.d dependency optional.

diff -ru quota-3.17/debian/quotarpc quota-3.17-pere/debian/quotarpc
--- quota-3.17/debian/quotarpc  2009-09-16 22:26:24.000000000 +0200
+++ quota-3.17-pere/debian/quotarpc     2009-09-16 22:27:18.000000000 +0200
@@ -3,8 +3,10 @@
 ### BEGIN INIT INFO
 # Provides:          quotarpc
 # Short-Description: Starts rpc process for remote quota handling
-# Required-Start:    $remote_fs $portmap quota
-# Required-Stop:     $remote_fs $portmap quota
+# Required-Start:    $remote_fs quota
+# Required-Stop:     $remote_fs quota
+# Should-Start:      $portmap
+# Should-Stop:       $portmap
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 ### END INIT INFO


Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to