[Pkg-sysvinit-devel] Bug#383124: umountnfs.sh: Patch to also unmount filesystems on network block devices

Andrew Pollock apollock at debian.org
Tue Aug 15 04:47:11 UTC 2006


Package: initscripts
Version: 2.86.ds1-15
Severity: normal

This bug also relates to #383073, feel free to merge if you see fit.

Please find attached a patch that will unmount filesystems on network
block devices as well. It calls umount unconditionally, as I couldn't
see any harm in doing it this way.

regards

Andrew

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages initscripts depends on:
ii  debianutils   2.15.2                     Miscellaneous utilities specific t
ii  e2fsprogs     1.38+1.39-WIP-2005.12.31-1 ext2 file system utilities and lib
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  lsb-base      3.0-15                     Linux Standard Base 3.0 init scrip
ii  mount         2.12r-6                    Tools for mounting and manipulatin

initscripts recommends no packages.

-- no debconf information
-------------- next part --------------
--- /etc/init.d/umountnfs.sh.orig	2006-08-14 20:56:55.000000000 -0700
+++ /etc/init.d/umountnfs.sh	2006-08-14 20:58:03.000000000 -0700
@@ -69,6 +69,7 @@
 		umount $FLAGS $DIRS
 	fi
 	ES=$?
+	umount -a -O _netdev
 
 	[ "$VERBOSE" = no ] || log_action_end_msg $ES
 }


More information about the Pkg-sysvinit-devel mailing list