summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_kernel.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2025-05-28 16:35:54 +0800
committerSteve Sakoman <steve@sakoman.com>2025-06-05 09:18:43 -0700
commit2eac829f48975f64d2025c2546df73d7972bef7c (patch)
treed129771f34bad0c31441de695fe4a94e0fc5d36e /scripts/lib/recipetool/create_kernel.py
parent06b16eb7eef8e5227d408cdc1075cee7ddfa3bf6 (diff)
downloadpoky-2eac829f48975f64d2025c2546df73d7972bef7c.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: b530827b938bcae33da08b65bab96d2549056f2e) 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 'scripts/lib/recipetool/create_kernel.py')
0 files changed, 0 insertions, 0 deletions