From nobody Tue Feb 22 00:41:58 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 7F35919E5947; Tue, 22 Feb 2022 00:41:58 +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 4K2gNQ388bz3k2j; Tue, 22 Feb 2022 00:41:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645490518; 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=lDvWZjNmc9qHp4ow5hKP4XNr7kU98aLFMxlWVur9ysk=; b=q/t/HtuTtRqAJza7uHjCcA9C4pKJSpRXf65lBj1C91bnJZ0mnCSOHvcHFvcn5xSgFGmKnQ +wd5thrcjHWhruN0Cpw2ag++qjV6JsQV+jwQIcaJoMxn45HFPz+o5Sz4CYYjnyYPztdkWc AargFbQaMPPO20UfsTTdYx5tAAZ/tpnE8A1xulwSO8hjw2ouKIQ9TjwtQTfbZ1MVtEt1Pw lPyJKa97ZbGEQdwgdG49OOBiViM16ZgRFqzj27+30k8+HqUvtWirHBjZ5AqRWQM4gdO4xg dlzdVpEQyKErRGtidNVvDX36uTieugs3EzRG9IpyunjhPRwvLhYkBzI+99woeA== 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 4BB121A5E5; Tue, 22 Feb 2022 00:41:58 +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 21M0fwQx078286; Tue, 22 Feb 2022 00:41:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21M0fwqm078284; Tue, 22 Feb 2022 00:41:58 GMT (envelope-from git) Date: Tue, 22 Feb 2022 00:41:58 GMT Message-Id: <202202220041.21M0fwqm078284@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: cc6f50fc371f - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: cc6f50fc371f6a04fd20dd4f4d08e5d3fcdf6319 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645490518; 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=lDvWZjNmc9qHp4ow5hKP4XNr7kU98aLFMxlWVur9ysk=; b=QrJbSYcGv5ccANfEOw8jZC17v4u1BOEEf6MD7+znYaPeizeNpkCWP9IAFiw1efNP24VUnO bVwGqhN4J/uquVSsAaO+ng8fvCVUYU4q5zbv4MwSz+ilStmSot8Cx+ITvFlk0UbCTIGqJR Jd5+vc5E38jVJ1B7BddKR0PRT8nBBlV7+CUkWin3pOxv+/+F/nAzkMAaLiJnoa4/nuRh3Q CdVcuOgv/jppeKTEcz37ZZqI5B22GyMt/zsGoGd1tnKrbIiaxl0pAqhpyOhI937jJFLlZI iODNsdgDbEdbVT6Vsq9lx2n5gEjt17dvj1GwkmG19KGACcwXeQvk8bCXya7TJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645490518; a=rsa-sha256; cv=none; b=qRVkU2RXZatq0h2KCD/EtmV51YgzZ4yZDv9MKoqFGMmjTHRJKBzmYuvPh56grB3VbfWPom 9mnbCCgmJZbgUA1Z0OlsKJS9rrQS981RnXKSrf91yD3mRPv8irh2ZMYcqpzTfIEh8UeXSs F2XSkzMzY+DXCVrXlxuZd3wxuH1GYFmUKqjoTFizM9FZCkuQz2f66BYi8kGv6tb2zBGn5Y 4F99MLXnDIAVMitW87jLhK7NadRidAKSAvpFuQwvcOUdWyr4FqzWot8NYeZ8CuYV9zL7Jv xfAhrKDKedmmT5hXXqmPCHMhPQ2A8fbAG3/DYiKKqzT1wi9K5pSpTbuNxAPlXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=cc6f50fc371f6a04fd20dd4f4d08e5d3fcdf6319 commit cc6f50fc371f6a04fd20dd4f4d08e5d3fcdf6319 Author: Rick Macklem AuthorDate: 2022-02-15 22:18:23 +0000 Commit: Rick Macklem CommitDate: 2022-02-22 00:40:10 +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