- nfsserver.init: make sure sm-notify runs on restart.
If we stop nfsd, that might also stop lockd which would drop locks. So make sure lockd really does drop lock for consistency, and ensure that sm-notify is run when nfsserver is restarted. (bnc#668280) OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=38
This commit is contained in:
parent
87be134f78
commit
5851cf522d
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 23:49:40 UTC 2011 - nfbrown@novell.com
|
||||
|
||||
- nfsserver.init: make sure sm-notify runs on restart.
|
||||
If we stop nfsd, that might also stop lockd which would
|
||||
drop locks. So make sure lockd really does drop lock
|
||||
for consistency, and ensure that sm-notify is run when
|
||||
nfsserver is restarted. (bnc#668280)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 07:49:03 UTC 2011 - lnussel@suse.de
|
||||
|
||||
|
@ -248,7 +248,12 @@ case "$1" in
|
||||
if ! checkproc -n lockd; then
|
||||
echo -n " statd"
|
||||
killproc rpc.statd
|
||||
else
|
||||
# tell lockd to drop all client locks
|
||||
killproc -n -KILL lockd
|
||||
fi
|
||||
# make sure sm-notify is run on restart, as we have dropped some locks
|
||||
rm -f /var/run/sm-notify.pid
|
||||
#
|
||||
# rpc.mountd
|
||||
echo -n " mountd"
|
||||
|
Loading…
Reference in New Issue
Block a user