tags 541349 + patch
thanks

Here is a patch to fix the autofs dependencies.  The script depend on
mounted /usr/, and thus need to depend on $remote_fs.  The program log
to syslog, and should start after the syslog collector is started, and
when nis is installed, it should start after nis is started.  This
patch should make sure that is the case.

diff -ru autofs-4.1.4+debian/debian/patches/084_init_lsb_header.dpatch 
autofs-4.1.4+debian-pere/debian/patches/084_init_lsb_header.dpatch
--- autofs-4.1.4+debian/debian/patches/084_init_lsb_header.dpatch       
2009-08-13 18:55:39.000000000 +0200
+++ autofs-4.1.4+debian-pere/debian/patches/084_init_lsb_header.dpatch  
2009-08-13 18:58:17.000000000 +0200
@@ -7,14 +7,15 @@

 --- autofs-4.1.4+debian/samples/rc.autofs.in.orig      2007-07-05 
16:43:32.000000000 +0200
 +++ autofs-4.1.4+debian/samples/rc.autofs.in   2007-07-05 16:43:42.000000000 
+0200
-@@ -9,6 +9,16 @@
+@@ -9,6 +9,17 @@
  # On most distributions, this file should be called:
  # /etc/rc.d/init.d/autofs or /etc/init.d/autofs
  #
 +### BEGIN INIT INFO
 +# Provides:            autofs
-+# Required-Start:      $local_fs
-+# Required-Stop:       $local_fs
++# Required-Start:      $remote_fs $syslog
++# Required-Stop:       $remote_fs $syslog
++# Should-Start:        nis
 +# Default-Start:       2 3 4 5
 +# Default-Stop:                0 1 6
 +# Short-Description:   automount daemon

Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to