Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 01:49:49 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367660 - head/libexec/rc/rc.d
Message-ID:  <202011140149.0AE1nnBc089104@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sat Nov 14 01:49:49 2020
New Revision: 367660
URL: https://svnweb.freebsd.org/changeset/base/367660

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.
  
  Submitted by:	meowthink@gmail.com
  Reported by:	meowthink@gmail.com
  Reviewed by:	0mp
  MFC after:	2 weeks
  Relnotes:	yes
  Differential Revision:	https://reviews.freebsd.org/D27203

Modified:
  head/libexec/rc/rc.d/gssd

Modified: head/libexec/rc/rc.d/gssd
==============================================================================
--- head/libexec/rc/rc.d/gssd	Sat Nov 14 01:45:34 2020	(r367659)
+++ head/libexec/rc/rc.d/gssd	Sat Nov 14 01:49:49 2020	(r367660)
@@ -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?202011140149.0AE1nnBc089104>