Package:  apt-p2p
Version:  0.1.3
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

I discovered this problem in my sid chroot.  The apt-p2p init.d stop
scripts is executed after sendsigs killed all processes, and thus will
not do what it is supposed to do.  Sendsigs is part of the $remote_fs
virtual facility.  Also, as it does not start in rcS.d, it should have
a start dependency on $remote_fs too.

The solution is to let the apt-p2p init.d script have a dependency on
the $remote_fs vacility.  Please apply the following patch.

diff -Nru /tmp/6NeAnQi6PV/apt-p2p-0.1.3/debian/init.d 
/tmp/PVt6bS9nz3/apt-p2p-0.1.4/debian/init.d
--- /tmp/6NeAnQi6PV/apt-p2p-0.1.3/debian/init.d 2008-05-10 09:00:20.000000000 
+0200
+++ /tmp/PVt6bS9nz3/apt-p2p-0.1.4/debian/init.d 2008-05-11 12:35:58.000000000 
+0200
@@ -2,8 +2,8 @@

 ### BEGIN INIT INFO
 # Provides:          apt-p2p
-# Required-Start:    $network
-# Required-Stop:
+# Required-Start:    $remote_fs $network
+# Required-Stop:     $remote_fs
 # Should-Start:      $named
 # Should-Stop:
 # 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