Red Hat Bugzilla – Bug 158866
Small display typo
Last modified: 2007-11-30 17:11:06 EST
Looks like there's an extra "echo" line in the nfs startup script. It says
"Shutting down NFS mountd:" when requesting the status.
# /etc/init.d/nfs status
rpc.svcgssd (pid 2989) is running...
Shutting down NFS mountd: rpc.mountd (pid 3337) is running...
nfsd (pid 3331 3330 3329 3328 3327 3326 3325 3324) is running...
rpc.rquotad (pid 3320) is running...
Yes, it's still there in FC4 final.
The relevant echo command from /etc/rc.d/init.d/nfs needs to be removed:
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd status
echo -n $"Shutting down NFS mountd: "
if [ -n "$RQUOTAD" -a "$RQUOTAD" != "no" ]; then
There's a second error in the 'nfs' script. Since it's the same script, I
thought I wouldn't open a new issue.
There are two '[ OK ]' instead of one after 'Starting NFS mountd':
# /etc/init.d/nfs stop
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
# /etc/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
# [ OK ]
This is because 'nfs start' runs:
/sbin/service rpcidmapd condstart
which produces an '[ OK ]' just after:
daemon rpc.mountd $RPCMOUNTDOPTS
which also produces an '[ OK ]'.
*** Bug 170356 has been marked as a duplicate of this bug. ***
Fixed nfs-utils-1.0.7-13.FC4 and in nfs-utils-1.0.8.rc2-5.FC5