tags 541765 + patch
thanks

[Philipp Matthias Hahn]
> selinux-basics thus either must declare
>       # Required-Start:    $local_fs
> or should not use awk at all.

Actually, to know that /usr/ is available, $remote_fs is the correct
dependency, in case /usr/ is NFS mounted.

Here is a patch to solve this.  The sequence number used in the
update-rc.d call is too early.  It should be 46 instead of 36, to make
sure it is after mountnfs.sh.  Depending on $remote_fs is the
equivalent.

diff -ur selinux-basics-0.3.5/debian/selinux-basics.init 
selinux-basics-0.3.5-pere/debian/selinux-basics.init
--- selinux-basics-0.3.5/debian/selinux-basics.init  2008-08-04 
22:44:33.000000000 +0200
+++ selinux-basics-0.3.5-pere/debian/selinux-basics.init     2009-09-21 
22:24:47.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          selinux-basics
-# Required-Start:    checkfs
+# Required-Start:    $remote_fs
 # Required-Stop:
 # Default-Start:     S
 # Default-Stop:

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to