1
0
forked from pool/nfs-utils
Neil Brown 2010-03-09 21:19:41 +00:00 committed by Git OBS Bridge
parent de3489de31
commit 2c04071a40
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 9 21:18:22 UTC 2010 - nfbrown@novell.com
- init.nfs: also call 'udevadm settle' when mounting things
other than /usr and /opt. bnc#571540
-------------------------------------------------------------------
Tue Feb 23 22:15:18 UTC 2010 - nfbrown@novell.com

View File

@ -227,7 +227,14 @@ case "$1-$nfs" in
# sleep 2 && mount -at nfs,nfs4 &
# sleep 2
#
if test "$nfs" = yes ; then
if test -n "$mnt" ; then
# If network devices are not yet discovered, mounts
# might fail, so we might need to 'udevadm settle' to
# wait for the interfaces.
# We cannot try the mount and on failure: 'settle' and try again
# as if there are 'bg' mounts, we could get multiple copies
# of them. So always 'settle' if there is any mounting to do.
udevadm settle
mount -at nfs,nfs4 > /dev/null 2>&1
fi
#