rc.conf startup dirs vs X11R6 symlink

Howard Goldstein hg at queue.to
Thu Apr 19 02:45:35 UTC 2007


Heads up, when not overridden locally the /usr/X11R6->/usr/local symlink
will cause everything in /usr/local/etc/rc.d twice on startup.  The
trivial patch for /etc/defaults/rc.conf fixes this.   All sorts of
ports-related ugliness will surely ensue at sites that have populated
/usr/local/etc/rc.d directories




-------------- next part --------------
*** /etc/defaults/rc.conf.orig	Wed Apr 18 22:32:43 2007
--- /etc/defaults/rc.conf	Wed Apr 18 22:33:28 2007
***************
*** 55,61 ****
  varmfs_flags="-S"	# Extra mount options for the mfs /var
  populate_var="AUTO"	# Set to YES to always (re)populate /var, NO to never
  cleanvar_enable="YES" 	# Clean the /var directory
! local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
  script_name_sep=" "	# Change if your startup scripts' names contain spaces
  rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
  
--- 55,61 ----
  varmfs_flags="-S"	# Extra mount options for the mfs /var
  populate_var="AUTO"	# Set to YES to always (re)populate /var, NO to never
  cleanvar_enable="YES" 	# Clean the /var directory
! local_startup="/usr/local/etc/rc.d" # startup script dirs.
  script_name_sep=" "	# Change if your startup scripts' names contain spaces
  rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
  



More information about the freebsd-x11 mailing list