From nobody Tue Feb 15 22:19:36 2022 X-Original-To: dev-commits-src-main@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 59BA519B4B7D; Tue, 15 Feb 2022 22:19:36 +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 4JywVw25dgz3hYY; Tue, 15 Feb 2022 22:19:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644963576; 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=nQ8Igk6VTOaPTpbTG6m2xU83tGEGgzg50h2O0Vu9WM4=; b=CkQ6BC9PkLaPoVi/HV33OfdD/V1Vi7UMuriDSn2dr+Gc+SP6jnTF+wKbOolnt+bIrUsHEL jBrKkez0DsTitxvE5Ayo6BR27U8nS/EWm5dOzw8PWCiQrx1hLBj5UKzza8W6tm0vuPl8Xf bE4W10bjUEet6Cr+q+MuR7k+46YyCJHyHNp77iRUoqgA7hPX53esR1SRKn8giAGBiT+W9A Hs+GPE72wLr98UX52XAZoPw59PnO4R2IgWYnHjwIgW3cOMPg3OA8CAG8o2SX0GH3qPtAhV 47PvwdXDW7Bo/QkMNVna3aJuA559FRHUqERIvicsTHVJ3m5rk5OIWiG8JH/N6Q== 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 28C6225D1; Tue, 15 Feb 2022 22:19:36 +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 21FMJaFM070039; Tue, 15 Feb 2022 22:19:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21FMJaXr070038; Tue, 15 Feb 2022 22:19:36 GMT (envelope-from git) Date: Tue, 15 Feb 2022 22:19:36 GMT Message-Id: <202202152219.21FMJaXr070038@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 0f5e9425e74b - main - gssd: Modify /etc/rc.d/gssd so that it starts after NETWORKING List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 0f5e9425e74b0e0ecf60c293525a307a6e709967 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644963576; 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=nQ8Igk6VTOaPTpbTG6m2xU83tGEGgzg50h2O0Vu9WM4=; b=sskVQp9jo4Y9c15BXEewjWJmcU/15xs4xYbZMlJjKChtqVKrWBIsEkt0ZPuzkdXRRdlvHe ZvXHe8ksvQ/iBevtJS/6evMJInmUz/m8vprDKX+KhAOFu8J3ZGco24lx5cguQ630Oa1QS1 75P57on1I7ZddOopg762V/9UTqmNSRT+6tp+ZB+pFQNk6R2ci2be5ddf10NeRELIUe+CEe r/J2sdwKDLwEEFzeaDAa+Nzh9SuIVYHQE9VF3nrklarv98wXgg89vsEI6DRcb3mhfOQa0k obc/4vCE/qZaonLNVs9uTNCrluxk7yK79+X86sZscv3hWs0W93Ygp8IWkhAgcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644963576; a=rsa-sha256; cv=none; b=OeaIbC1czjcf5rV0NMrHVAQsiFxf2I8UUxGaamO8Lamn/9TWh/BI7ETpnBTuUaU+4VMVSN qzn/l1Xvpv3Yy/EFLUg3SnFXgLoicsqOi7JqHdrWlFbp8vDQawYRkLHOnaPRo+GY+myojg vBSbBaUEg6o6LSmxjdzYjrJPERn0n8uO5Cx8mT3te3LBtimcD3bCQ2fieY27SdopFzxpjY QRawzysch8CDVtG+59UH5mLvHmIhj9pMcsZ5qvWX2YY6youAIuhAB+re0k0S+HdYvJyILo ExoYe2Uc87Oqbycf4rTV77XyFdY04WiSUCmP4OIkQoR/Xm9q7ZTm1h6YTJcs+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=0f5e9425e74b0e0ecf60c293525a307a6e709967 commit 0f5e9425e74b0e0ecf60c293525a307a6e709967 Author: Rick Macklem AuthorDate: 2022-02-15 22:18:23 +0000 Commit: Rick Macklem CommitDate: 2022-02-15 22:18:23 +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 Reported by: anothatuber@gmail.com Tested by: anothatuber@gmail.com Reviewed by: rew MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34265 --- 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