Comment 29 for bug 468589

Revision history for this message
Agostino Russo (ago) wrote :

Untested patch

--- /etc/init.d/umountfs 2009-10-14 05:15:49.000000000 +0100
+++ /tmp/umountfs 2009-11-03 14:58:38.767258508 +0000
@@ -94,13 +94,14 @@
  #
  if [ "$WEAK_MTPTS" ]; then
   if [ "$VERBOSE" = no ]
+ # Do not use the -f umount option here
   then
    log_action_begin_msg "Unmounting weak filesystems"
- fstab-decode umount -f -r -d $WEAK_MTPTS
+ fstab-decode umount -r -d $WEAK_MTPTS
    log_action_end_msg $?
   else
    log_daemon_msg "Will now unmount weak filesystems"
- fstab-decode umount -f -v -r -d $WEAK_MTPTS
+ fstab-decode umount -v -r -d $WEAK_MTPTS
    log_end_msg $?
   fi
  fi