aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-02-25 16:41:25 -0500
committerBill Nottingham <notting@redhat.com>2011-02-25 16:42:24 -0500
commitdecf19bb9dc7b70ad89f9154899e73df069f5e62 (patch)
treeb85c07c73cafda668a94d201134d0d581beec526 /rc.d
parentb5141c17bfc6ebfdaf440a1d997b7d897e242820 (diff)
downloadinitscripts-decf19bb9dc7b70ad89f9154899e73df069f5e62.tar
initscripts-decf19bb9dc7b70ad89f9154899e73df069f5e62.tar.gz
initscripts-decf19bb9dc7b70ad89f9154899e73df069f5e62.tar.bz2
initscripts-decf19bb9dc7b70ad89f9154899e73df069f5e62.tar.xz
initscripts-decf19bb9dc7b70ad89f9154899e73df069f5e62.zip
Call sync after nfs unmount, otherwise we'll hang when the kernel syncs later. (#637500)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/netfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 8d9854fb..3713cf45 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -116,6 +116,7 @@ case "$1" in
$"Unmounting NFS filesystems: " \
$"Unmounting NFS filesystems (retry): " \
"-f -l"
+ sync
fi
if [ -n "$CIFSMTAB" ]; then
for MNT in $CIFSMTAB; do