diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2016-01-04 11:15:21 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-01-07 10:10:51 -0500 |
commit | 691412b4438da1b77ff3078de0546023d244d841 (patch) | |
tree | b23ae6846ff28efbff35081bbe6f1c36daf641cb /Documentation/fmc/API.txt | |
parent | 2a297450dd188a5d4e5e428c189b2de54f9073ba (diff) | |
download | talos-obmc-linux-691412b4438da1b77ff3078de0546023d244d841.tar.gz talos-obmc-linux-691412b4438da1b77ff3078de0546023d244d841.zip |
nfsd: Fix nfsd leaks sunrpc module references
Stefan Hajnoczi reports,
nfsd leaks 3 references to the sunrpc module here:
# echo -n "asdf 1234" >/proc/fs/nfsd/portlist
bash: echo: write error: Protocol not supported
Now stop nfsd and try unloading the kernel modules:
# systemctl stop nfs-server
# systemctl stop nfs
# systemctl stop proc-fs-nfsd.mount
# systemctl stop var-lib-nfs-rpc_pipefs.mount
# rmmod nfsd
# rmmod nfs_acl
# rmmod lockd
# rmmod auth_rpcgss
# rmmod sunrpc
rmmod: ERROR: Module sunrpc is in use
# lsmod | grep rpc
sunrpc 315392 3
It is caused by nfsd don't cleanup rpcb program for nfsd
when destroying svc service after creating xprt fail.
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'Documentation/fmc/API.txt')
0 files changed, 0 insertions, 0 deletions