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

Thomas Hood jdthood-guest at costa.debian.org
Mon Feb 13 07:42:57 UTC 2006


Author: jdthood-guest
Date: 2006-02-13 07:42:55 +0000 (Mon, 13 Feb 2006)
New Revision: 751

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/initscripts/etc/init.d/umountroot
Log:
Fix #352398

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2006-02-10 08:14:57 UTC (rev 750)
+++ sysvinit/trunk/debian/changelog	2006-02-13 07:42:55 UTC (rev 751)
@@ -1,8 +1,10 @@
 sysvinit (2.86.ds1-13~1) unstable; urgency=low
 
-  * 
+  [ Thomas Hood ]
+  * umountroot: Tweak handling of error messages from mount
+    (Closes: #352398)
 
- -- Henrique de Moraes Holschuh <hmh at debian.org>  Thu,  9 Feb 2006 22:26:06 -0200
+ -- Thomas Hood <jdthood at yahoo.co.uk>  Mon, 13 Feb 2006 08:42:44 +0100
 
 sysvinit (2.86.ds1-12) unstable; urgency=low
 

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/umountroot
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/umountroot	2006-02-10 08:14:57 UTC (rev 750)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/umountroot	2006-02-13 07:42:55 UTC (rev 751)
@@ -21,9 +21,9 @@
 	#     mount -n -o remount,ro /
 	# will act on a bind mount of / if there is one.
 	# See #339023 and the comment in checkroot.sh
-	mount    $MOUNT_FORCE_OPT -n -o remount,ro -t dummytype dummydev /             \
+	mount    $MOUNT_FORCE_OPT -n -o remount,ro -t dummytype dummydev / 2>/dev/null \
 	|| mount $MOUNT_FORCE_OPT -n -o remount,ro              dummydev / 2>/dev/null \
-	|| mount $MOUNT_FORCE_OPT -n -o remount,ro                       / 2>/dev/null
+	|| mount $MOUNT_FORCE_OPT -n -o remount,ro                       /
 	ES=$?
 	[ "$VERBOSE" = no ] || log_action_end_msg $ES
 }




More information about the Pkg-sysvinit-commits mailing list