[Pkg-sysvinit-commits] r871 - in sysvinit/trunk/debian: . initscripts/etc/init.d

Petter Reinholdtsen pere at costa.debian.org
Fri Sep 8 12:38:28 UTC 2006


Author: pere
Date: 2006-09-08 12:38:26 +0000 (Fri, 08 Sep 2006)
New Revision: 871

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/halt
   sysvinit/trunk/debian/initscripts/etc/init.d/reboot
   sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs
   sysvinit/trunk/debian/initscripts/etc/init.d/umountfs
   sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
Log:
Update LSB header info for several of the scripts used during shutdown.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/changelog	2006-09-08 12:38:26 UTC (rev 871)
@@ -6,14 +6,8 @@
   * Also create possibly non-existant parent directory of lock directory
     /var/run/network/mountnfs in ifup script.  Patch from Arjan
     Oosting. (Closes: #386449).
-  * List 'udev' in the should-start section of mountdevsub.sh, to make
-    sure /dev/ is mounted.
   * Change checkroot.sh to use a private tmpfs file system for its
     device file if it is missing from /dev/. (Closes: #386347)
-  * Let init.d/stop-bootlogd depend on rmnologin to make sure it
-    executes late in the boot.
-  * Drop the $all dependency for rc.local, to allow it to start early
-    in the boot.
   * Mount /dev/pts/ with noexec,nosuid, as it is only used for device files.
   * Print a message when enabling concurrent boot, specifying the
     concurrency style.
@@ -24,9 +18,24 @@
   * Teach init.d/stop-bootlogd-single to accept the kernel arguments
     'S' and '1' as well as 'single' as single-user mode triggers.
     (Closes: #367465, #372669)
-  * Let stop-bootlogd-single depend on $all, to get it last in the rcS.d/
-    sequence.
   * Remove execute bit from /etc/init.d/skeleton. (Closes: #372666)
+  * LSB header updates:
+    - stop-bootlogd should run after rmnologin.
+    - mountdevsub.sh should start after udev, if it exist.
+    - rc.local should not depend on $all to allow it to start early in
+      the boot.
+    - stop-bootlogd-single should on $all, to get it last in the
+      rcS.d/ sequence.
+    - umountnfs.sh should stop in runlevel 0 and 6, and execute before
+      umountnfs, sendsigs, portman and $network.
+    - sendsigs should stop in runlevel 0 and 6, and execute before
+      umountfs.
+    - umountfs should stop in runlevel 0 and 6, and execute before halt
+      or reboot, if it exist.
+    - halt should stop in runlevel 0, and not run before any other
+      script.
+    - reboot should stop in runlevel 6, and not run before any other
+      script.
 
  -- Petter Reinholdtsen <pere at debian.org>  Thu,  7 Sep 2006 15:41:23 +0200
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/halt
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/halt	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/halt	2006-09-08 12:38:26 UTC (rev 871)
@@ -1,12 +1,12 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          halt
-# Required-Start:    umountroot
+# Required-Start:
 # Required-Stop:
-# Should-Start:      lvm raid2
+# Should-Start:
 # Should-Stop:
-# Default-Start:     0
-# Default-Stop:
+# Default-Start:
+# Default-Stop:      0
 # Short-Description: Execute the halt command.
 # Description:
 ### END INIT INFO

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/reboot
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/reboot	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/reboot	2006-09-08 12:38:26 UTC (rev 871)
@@ -1,11 +1,11 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          reboot
-# Required-Start:    umountroot $network
+# Required-Start:
 # Required-Stop:
-# Should-Start:      lvm raid2
-# Default-Start:     6
-# Default-Stop:
+# Should-Start:
+# Default-Start:
+# Default-Stop:      6
 # Short-Description: Execute the reboot command.
 # Description:
 ### END INIT INFO

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/sendsigs	2006-09-08 12:38:26 UTC (rev 871)
@@ -2,9 +2,9 @@
 ### BEGIN INIT INFO
 # Provides:          sendsigs
 # Required-Start:    
-# Required-Stop: 
-# Default-Start:     6
-# Default-Stop:       
+# Required-Stop:     umountfs
+# Default-Start:
+# Default-Stop:      0 6
 # Short-Description: Kill all remaining processes.
 # Description: 
 ### END INIT INFO

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountfs
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountfs	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountfs	2006-09-08 12:38:26 UTC (rev 871)
@@ -1,10 +1,11 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          umountfs
-# Required-Start:    umountnfs urandom
+# Required-Start:
 # Required-Stop:
-# Default-Start:     0 6
-# Default-Stop:
+# Should-Stop:       halt reboot
+# Default-Start:
+# Default-Stop:      0 6
 # Short-Description: Turn off swap and unmount all local file systems.
 # Description:
 ### END INIT INFO

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh	2006-09-08 11:48:48 UTC (rev 870)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountnfs.sh	2006-09-08 12:38:26 UTC (rev 871)
@@ -1,10 +1,10 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          umountnfs
-# Required-Start:    sendsigs
-# Required-Stop:
-# Default-Start:     6
-# Default-Stop:
+# Required-Start:
+# Required-Stop:     umountfs sendsigs portmap $network
+# Default-Start:
+# Default-Stop:      0 6
 # Short-Description: Unmount all network filesystems except the root file system.
 # Description:       Also unmounts all virtual filesystems (proc, devfs, devpts,
 #                    usbfs, sysfs) that are not mounted at the top level.




More information about the Pkg-sysvinit-commits mailing list