Overview
Request 61539 accepted
- nfs.init: improve handling of paths with spaces.
If a path name has a space, it will appear as \040
in fstab and in /proc/mounts. Using 'grep -E' to search
for this is problematic as it will interpret the
'\'. So use 'grep -F' instead - we know there is
only a single space in /proc/mounts. Also use
"read -r" so 'read' doesn't interpret the '/'.
(bnc#666128)
- 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)
Request History
neilbrown created request
- nfs.init: improve handling of paths with spaces.
If a path name has a space, it will appear as \040
in fstab and in /proc/mounts. Using 'grep -E' to search
for this is problematic as it will interpret the
'\'. So use 'grep -F' instead - we know there is
only a single space in /proc/mounts. Also use
"read -r" so 'read' doesn't interpret the '/'.
(bnc#666128)
- 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)
oertel accepted request
Accepted submit request 61539 from user neilbrown