Date: Thu, 19 Apr 2007 09:17:21 -0500 From: Brooks Davis <brooks@freebsd.org> To: Howard Goldstein <hg@queue.to> Cc: freebsd-x11@freebsd.org Subject: Re: rc.conf startup dirs vs X11R6 symlink Message-ID: <20070419141721.GA74693@lor.one-eyed-alien.net> In-Reply-To: <4626D7CE.6070909@queue.to> References: <4626D7CE.6070909@queue.to>
next in thread | previous in thread | raw e-mail | index | archive | help
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D"-S" # Extra mount options for the mfs /var > populate_var=3D"AUTO" # Set to YES to always (re)populate /var, NO to n= ever > cleanvar_enable=3D"YES" # Clean the /var directory > ! local_startup=3D"/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup scr= ipt dirs. > script_name_sep=3D" " # Change if your startup scripts' names contain s= paces > rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local" > =20 > --- 55,61 ---- > varmfs_flags=3D"-S" # Extra mount options for the mfs /var > populate_var=3D"AUTO" # Set to YES to always (re)populate /var, NO to n= ever > cleanvar_enable=3D"YES" # Clean the /var directory > ! local_startup=3D"/usr/local/etc/rc.d" # startup script dirs. > script_name_sep=3D" " # Change if your startup scripts' names contain s= paces > rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local" > =20 >=20 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGJ3nwXY6L6fI4GtQRAgtDAJ9pjkygmIHlI7SEwa4F/tRLMbDRnACfa4wd sE79oRTFojvYbyCsAjUkUvY= =g9g9 -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070419141721.GA74693>