From nobody Tue Feb 22 00:48:10 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6B5AB19E7BD0; Tue, 22 Feb 2022 00:48:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K2gWZ2Yn7z3mKp; Tue, 22 Feb 2022 00:48:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645490890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Aa3S3T2Ch8bqAMw7i6xrDNzkl7QfwFC8Zef83fjkr5w=; b=jldubbIKQLakVYVbZonomW3dZVGMwZjQmWAysTEuF2zDe9Ek5Qaj9SszYihHtY81X+yXR8 F9wRoGSCydQq0WoNmi1dTeDwvrp3YFkDuHoQfdIQ1mc6X1Iqo5+7rh2aiaAA06a40YvS77 DXQiC2KRTmREC3xfjs/WJ3CXkGAqBSxtTIssjQNwCyYiQPVB0J4IOBZrlqjpFkaHs3m0rD Id0Y992gqRse0TN7GHKbhv+1GA79/R/PkwEK9/c66VPhtbggLPWaE9SLhdlkMoYVwM6PXg 2+j+mwqJR6bjgsCEfJs9PaS4aDtdvdX9tI76VJdnGk7YeJuEOOUTsM6U4RnmtQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 341731A7EA; Tue, 22 Feb 2022 00:48:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21M0mAG1081212; Tue, 22 Feb 2022 00:48:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21M0mAhJ081211; Tue, 22 Feb 2022 00:48:10 GMT (envelope-from git) Date: Tue, 22 Feb 2022 00:48:10 GMT Message-Id: <202202220048.21M0mAhJ081211@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 0dd60a57103e - stable/12 - gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 0dd60a57103e7aa539f2a6916c3b774167dc664c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645490890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Aa3S3T2Ch8bqAMw7i6xrDNzkl7QfwFC8Zef83fjkr5w=; b=A+kN7EbofMnKIbdr3jFWlFwTJnNLh1UBcckwjJhoCiHwWalUumETPDzx+H5FA+w15t+Z+K 1pxGDU3gt9Oqca0gy/B3sNvGIGuDIxX6OlbeVT1o7SqrrnLdYbYQv7y7+4xQSi1StZYsHq i31EdlUcRjjz7gjaHn/wiC5S+khnz9UmmqLoY9CWbVk7vxfzm4uM86O99qRmUS1vWdtRdq EtZYw00/OGvwxnNTS4GKIqwcEbfzMqm47IZsk3UXfo/7IZaEX3xQhDDSG6z/eAMXP7a8uZ fa5iEKY8sqUZz/DucMQDYg7rgW9TjDf3gkxsDYwnxIYotyjLbxiLSU3nQctUcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645490890; a=rsa-sha256; cv=none; b=UOG7B4+Pzn4yEsBicilOgtJWkELCMV81BWl+axziOeGp4IIGPFN995Mfe76Qc06iD1/YPY q91qv8EmSf+vWoIBUdR+d4npfjX/RRw2rBUjb48LdZulOsktwIkQ2Htl9RhufCF0IlMMFB jvoFdyqsQ1XFK0YQoZwF2Aufh0kd2c/V5L2Swx+Uxk9fJwRDYJoBOY4vJNMlXSESrLwO7r LJOdZQ5KkJaT3Gz028ledWSCKpoH2RHC3YT8ly49h5U5AV0m1TSd5ydf0wbx1DWzSat62H lZO4rRIjEeUO80y5f1J0d64tkRWNsSEf67pCqshmTCoT+jHH15U9NHro1sR5XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=0dd60a57103e7aa539f2a6916c3b774167dc664c commit 0dd60a57103e7aa539f2a6916c3b774167dc664c Author: Rick Macklem AuthorDate: 2022-02-15 22:18:23 +0000 Commit: Rick Macklem CommitDate: 2022-02-22 00:46:30 +0000 gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING Arno Tuber reported via email that he needed to restart the gssd daemon after booting, to get his Kerberized NFS mount to work. Without this patch, rcorder shows that the gssd starts before NETWORKING and kdc. The gssd will need NETWORKING to connect to the KDC and, if the kdc is running on the same system, it does not make sense to start it before the kdc. This fixed the problem for Arno. While here, I also added a "# BEFORE: mountcritremote". It does not affect ordering at this time, but I felt it should be added, since the gssd needs to be running when remote NFS mounts are done. PR: 261939 (cherry picked from commit 0f5e9425e74b0e0ecf60c293525a307a6e709967) --- libexec/rc/rc.d/gssd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/gssd b/libexec/rc/rc.d/gssd index 2a51add38b88..79dbf10ca575 100755 --- a/libexec/rc/rc.d/gssd +++ b/libexec/rc/rc.d/gssd @@ -4,7 +4,8 @@ # # PROVIDE: gssd -# REQUIRE: root mountcritlocal +# REQUIRE: root mountcritlocal NETWORKING kdc +# BEFORE: mountcritremote # KEYWORD: nojail shutdown . /etc/rc.subr