diff options
author | NeilBrown <neilb@suse.de> | 2025-05-23 17:41:19 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-27 09:01:17 +0100 |
commit | 7c8ab2cee4dcfb498dcde1619171f3fd27abcee4 (patch) | |
tree | abb7eb228fcc982c56ae65c5117c9b408a5e7046 /bitbake/lib/bb/fetch2/git.py | |
parent | e1e7cde0eec0cca9609c88d02cf434fdc990d109 (diff) | |
download | poky-7c8ab2cee4dcfb498dcde1619171f3fd27abcee4.tar.gz |
nfs-utils: don't use signals to shut down nfs server.
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: 7b09ad289a36e388ee4244b574ed32b66b654286)
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions