`/etc/init.d/nfs-kernel-server status` fails to report when nfs-kernel-server is stopped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
--- SNIP ---
root@boot1:
Description: Ubuntu 8.04.3 LTS
Release: 8.04
root@boot1:
nfs-kernel-server:
Installed: 1:1.1.2-2ubuntu2.2
Candidate: 1:1.1.2-2ubuntu2.2
Version table:
*** 1:1.1.2-2ubuntu2.2 0
500 http://
500 http://
100 /var/lib/
1:
500 http://
root@boot1:
* Exporting directories for NFS kernel daemon... [ OK ]
* Starting NFS kernel daemon [ OK ]
root@boot1:
nfsd running
root@boot1:
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
root@boot1:
nfsd running
--- SNIP ---
This is obviously incorrect. More-over, it means that this script cannot be properly used with heartbeat, as heartbeat will think that the resource is always running and therefore will not execute it on take-over.
The problem lies in the /etc/init.
... alternative fix, of course, would be to have `/etc/init. d/nfs-kernel- server stop` actually stop all of the "[nfsd]" kernel servers. This would likely be the better path, actually, but I am unsure as to how to make that happen.