Date: Sun, 29 Nov 2020 23:37:19 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r368166 - stable/12/libexec/rc/rc.d Message-ID: <202011292337.0ATNbJeC029257@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Sun Nov 29 23:37:18 2020 New Revision: 368166 URL: https://svnweb.freebsd.org/changeset/base/368166 Log: Fix startup of gssd when /usr is a separately mounted local file system. meowthink@gmail.com reported that the gssd daemon was not starting, because /etc/rc.d/gssd was executed before his local /usr file system was mounted. He fixed the problem by adding mountcritlocal to the REQUIRED line. This fix seems safe and works for a separately mounted /usr file system on a local disk. The case of a separately mounted remote /usr file system (such as NFS) is still broken, but there is no obvious solution for that. Adding mountcritremote would fix the problem, but it would cause a POLA violation, because all kerberized NFS mounts in /etc/fstab would need the "late" option specified to work. Modified: stable/12/libexec/rc/rc.d/gssd Directory Properties: stable/12/ (props changed) Modified: stable/12/libexec/rc/rc.d/gssd ============================================================================== --- stable/12/libexec/rc/rc.d/gssd Sun Nov 29 23:23:08 2020 (r368165) +++ stable/12/libexec/rc/rc.d/gssd Sun Nov 29 23:37:18 2020 (r368166) @@ -4,7 +4,7 @@ # # PROVIDE: gssd -# REQUIRE: root +# REQUIRE: root mountcritlocal # KEYWORD: nojail shutdown . /etc/rc.subr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011292337.0ATNbJeC029257>