public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/
Date: Fri, 16 Feb 2024 19:33:07 +0000 (UTC)	[thread overview]
Message-ID: <1708111969.7aa183ae8073593cab6d3f012a981a6e6712ffc2.floppym@gentoo> (raw)

commit:     7aa183ae8073593cab6d3f012a981a6e6712ffc2
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 16 19:23:48 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Feb 16 19:32:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa183ae

net-fs/nfs-utils: stop sending signals to kernel nfsd threads

Closes: https://bugs.gentoo.org/924309
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-fs/nfs-utils/files/nfs.initd                               | 10 ++++------
 .../{nfs-utils-2.6.3-r2.ebuild => nfs-utils-2.6.3-r3.ebuild}   |  2 +-
 .../{nfs-utils-2.6.4-r3.ebuild => nfs-utils-2.6.4-r10.ebuild}  |  0
 .../{nfs-utils-2.6.4-r1.ebuild => nfs-utils-2.6.4-r4.ebuild}   |  0
 4 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd
index 6540c9f92075..bc548f027c07 100644
--- a/net-fs/nfs-utils/files/nfs.initd
+++ b/net-fs/nfs-utils/files/nfs.initd
@@ -6,8 +6,8 @@ extra_started_commands="reload"
 
 # The binary locations
 exportfs=/usr/sbin/exportfs
-  mountd=/usr/sbin/rpc.mountd
-    nfsd=/usr/sbin/rpc.nfsd
+mountd=/usr/sbin/rpc.mountd
+nfsd=/usr/sbin/rpc.nfsd
 smnotify=/usr/sbin/sm-notify
 
 depend() {
@@ -106,13 +106,11 @@ stop() {
 	eend $?
 	ret=$((ret + $?))
 
-	# nfsd sets its process name to [nfsd] so don't look for $nfsd
 	ebegin "Stopping NFS daemon"
-	start-stop-daemon --stop --name nfsd --user root --signal 2
+	# Do not attempt to signal kernel nfsd threads directly, #924309
+	${nfsd} 0
 	eend $?
 	ret=$((ret + $?))
-	# in case things don't work out ... #228127
-	rpc.nfsd 0
 
 	# When restarting the NFS server, running "exportfs -ua" probably
 	# isn't what the user wants.  Running it causes all entries listed

diff --git a/net-fs/nfs-utils/nfs-utils-2.6.3-r2.ebuild b/net-fs/nfs-utils/nfs-utils-2.6.3-r3.ebuild
similarity index 99%
rename from net-fs/nfs-utils/nfs-utils-2.6.3-r2.ebuild
rename to net-fs/nfs-utils/nfs-utils-2.6.3-r3.ebuild
index 93a79d1a257b..773a752231a3 100644
--- a/net-fs/nfs-utils/nfs-utils-2.6.3-r2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.6.3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild b/net-fs/nfs-utils/nfs-utils-2.6.4-r10.ebuild
similarity index 100%
rename from net-fs/nfs-utils/nfs-utils-2.6.4-r3.ebuild
rename to net-fs/nfs-utils/nfs-utils-2.6.4-r10.ebuild

diff --git a/net-fs/nfs-utils/nfs-utils-2.6.4-r1.ebuild b/net-fs/nfs-utils/nfs-utils-2.6.4-r4.ebuild
similarity index 100%
rename from net-fs/nfs-utils/nfs-utils-2.6.4-r1.ebuild
rename to net-fs/nfs-utils/nfs-utils-2.6.4-r4.ebuild


             reply	other threads:[~2024-02-16 19:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 19:33 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-26 10:36 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/ David Seifert
2024-01-29 11:03 David Seifert
2023-06-03  0:47 Mike Gilbert
2022-09-16 21:54 Sam James
2021-11-30 10:45 David Seifert
2021-10-09  5:19 Sam James
2021-08-19 18:37 David Seifert
2021-01-05 20:06 Andreas K. Hüttel
2019-10-30 16:18 Lars Wendler
2019-09-22 18:34 Matt Turner
2019-05-11 21:03 Lars Wendler
2019-04-20 17:35 Lars Wendler
2018-06-19  5:58 Mike Frysinger
2018-05-28 10:35 Lars Wendler
2017-12-21 15:56 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708111969.7aa183ae8073593cab6d3f012a981a6e6712ffc2.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox