Opened 19 years ago
Closed 19 years ago
#2067 closed defect (fixed)
NFS-Utils Bootscripts Fix
Reported by: | Randy McMurchy | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
I've been meaning to submit this bug for months. Apparently, not many use NFS from BLFS, or this issue just gets overlooked, one of the two.
Anyway, the killproc command in the 'stop' command of the the NFS-Server bootscript doesn't work. Worse, it hangs the machine for a *long* time before it times out and continues the shutdown process.
To fix it, I simply use 'killproc [nfsd]' instead of 'killproc nfsd'.
Works for me anyway.
If whoever fixes ticket #2050 could check this out during the update, that would be great.
Change History (2)
comment:1 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I have looked at this and found that the nfs-server script should have the command:
killproc nfsd HUP
The script tries to use the HUP signal through the STOPSIG variable, that was made obsolete in the LFS functions script on 2/06/05!
The openldap scripts had the same error.
Fixed at revision 6298.
Note that the suggested fix, using [nfsd], does not work properly. The functions use pidof to return the pid numbers of the nfsd processes. Using [nfsd] returns a null list and does not terminate the processes.