diff options
author | NeilBrown <neilb@suse.de> | 2025-05-28 10:08:52 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-06-04 09:06:31 -0700 |
commit | 81e0dc80d72d66b7f15a34c0da7a0a8c58809056 (patch) | |
tree | 720d486eb3119ec7320010562dd421fdd0ec27e4 /documentation/conf.py | |
parent | 0238a535e8c7303e2df03be79b2fbe3862701100 (diff) | |
download | poky-kirkstone.tar.gz |
nfs-utils: don't use signals to shut down nfs server.kirkstone
Since Linux v2.4 it has been possible to stop all NFS server by running
rpc.nfsd 0
i.e. by requesting that zero threads be running. This is preferred as
it doesn't risk killing some other process which happens to be called
"nfsd".
Since Linux v6.6 - and other stable kernels to which
Commit: 390390240145 ("nfsd: don't allow nfsd threads to be
signalled.")
has been backported - sending a signal no longer works to stop nfs server
threads.
This patch changes the nfsserver script to use "rpc.nfsd 0" to stop
server threads.
(From OE-Core rev: 415e73d53e5342f3f6ff6acd521ded2df3fbca1f)
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b09ad289a36)
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/conf.py')
0 files changed, 0 insertions, 0 deletions