rc.conf startup dirs vs X11R6 symlink

Brooks Davis brooks at freebsd.org
Thu Apr 19 14:27:30 UTC 2007


On Wed, Apr 18, 2007 at 10:45:34PM -0400, Howard Goldstein wrote:
> 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

Hmm, I can't decide if this is the right fix or if we should add a step
in processing local_startup where we run realpath on the names and
remove dupes.  I worry this is going to cause problems for 6.2-RELEASE
users post switch so something we could apply as an eratta that would
work either way might be nice.

-- Brooks


> *** /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"
>   
> 

> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070419/00271c85/attachment.pgp


More information about the freebsd-x11 mailing list