Neil Brown 2010-02-23 22:17:00 +00:00 committed by Git OBS Bridge
parent 17c8640fff
commit de3489de31
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 23 22:15:18 UTC 2010 - nfbrown@novell.com
- init.nfs: if mounting /usr fails, call "udevadm settle"
and try again incase network interfaces are still
appearing. bnc#571540
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 29 22:03:26 UTC 2009 - nfbrown@novell.com Sun Nov 29 22:03:26 UTC 2009 - nfbrown@novell.com

View File

@ -134,7 +134,11 @@ mount_usr() {
test -n "$usr" -o -n "$opt" || return test -n "$usr" -o -n "$opt" || return
local where local where
for where in $usr $opt ; do for where in $usr $opt ; do
mount -o nolock $where mount -o nolock $where || {
# maybe network device hasn't appeared yet.
udevadm settle
mount -o nolock $where
}
done done
} }