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)

Loading...
Request History
Neil Brown's avatar

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)


Ruediger Oertel's avatar

oertel accepted request

Accepted submit request 61539 from user neilbrown

openSUSE Build Service is sponsored by