[Pkg-sysvinit-commits] r1542 - in sysvinit/trunk/debian: . initscripts initscripts/etc/init.d
Petter Reinholdtsen
pere at alioth.debian.org
Sat Jul 25 18:27:08 UTC 2009
Author: pere
Date: 2009-07-25 18:27:06 +0000 (Sat, 25 Jul 2009)
New Revision: 1542
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp
sysvinit/trunk/debian/initscripts/postinst
Log:
Drop the stop calls for K11mountoverflowtmp in runlevels 0 and 6.
The umountfs script will take care of the task (Closes: 526733)
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2009-07-25 17:54:03 UTC (rev 1541)
+++ sysvinit/trunk/debian/changelog 2009-07-25 18:27:06 UTC (rev 1542)
@@ -2,6 +2,8 @@
* Start generating MD5 sum files using dh_md5sum, build-depend
on debhelper for this.
+ * Drop the stop calls for K11mountoverflowtmp in runlevels 0 and 6.
+ The umountfs script will take care of the task (Closes: 526733)
-- Petter Reinholdtsen <pere at debian.org> Sat, 25 Jul 2009 19:48:02 +0200
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp 2009-07-25 17:54:03 UTC (rev 1541)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountoverflowtmp 2009-07-25 18:27:06 UTC (rev 1542)
@@ -4,7 +4,7 @@
# Required-Start: mountall-bootclean
# Required-Stop: umountfs
# Default-Start: S
-# Default-Stop: 0 6
+# Default-Stop:
# Short-Description: mount emergency /tmp.
# Description: Mount a tmpfs on /tmp if there would
# otherwise be too little space to log in.
Modified: sysvinit/trunk/debian/initscripts/postinst
===================================================================
--- sysvinit/trunk/debian/initscripts/postinst 2009-07-25 17:54:03 UTC (rev 1541)
+++ sysvinit/trunk/debian/initscripts/postinst 2009-07-25 18:27:06 UTC (rev 1542)
@@ -108,6 +108,15 @@
fi
#
+# In 2.87dsf-2 the "mountoverflowtmp" script was dropped
+# from runlevels 0 and 6.
+# We have to remove the old links _before_ we install new ones.
+#
+if dpkg --compare-versions "$PREV_VER" lt "2.87dsf-2" ; then
+ update-rc.d -f mountoverflowtmp remove >/dev/null 2>&1 || :
+fi
+
+#
# Okay, we could do this with update-rc.d, but that would probably
# be pretty slow. This way we win some speed.
# DO NOT FOLLOW THIS EXAMPLE IN OTHER PACKAGES.
@@ -123,7 +132,7 @@
updatercd checkfs.sh start 30 S .
updatercd mountall.sh start 35 S .
updatercd mountall-bootclean.sh start 36 S .
-updatercd mountoverflowtmp start 37 S . stop 63 0 6 .
+updatercd mountoverflowtmp start 37 S .
updatercd mountnfs.sh start 45 S .
updatercd mountnfs-bootclean.sh start 46 S .
updatercd bootmisc.sh start 55 S .
More information about the Pkg-sysvinit-commits
mailing list