From owner-freebsd-x11@FreeBSD.ORG Thu Apr 19 14:27:30 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9D7C16A40A for ; Thu, 19 Apr 2007 14:27:30 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (grnl-static-02-0046.dsl.iowatelecom.net [69.66.56.110]) by mx1.freebsd.org (Postfix) with ESMTP id 566A213C4BE for ; Thu, 19 Apr 2007 14:27:30 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l3JEHN2P074762; Thu, 19 Apr 2007 09:17:23 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l3JEHLim074760; Thu, 19 Apr 2007 09:17:21 -0500 (CDT) (envelope-from brooks) Date: Thu, 19 Apr 2007 09:17:21 -0500 From: Brooks Davis To: Howard Goldstein Message-ID: <20070419141721.GA74693@lor.one-eyed-alien.net> References: <4626D7CE.6070909@queue.to> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <4626D7CE.6070909@queue.to> User-Agent: Mutt/1.5.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Thu, 19 Apr 2007 09:17:23 -0500 (CDT) Cc: freebsd-x11@freebsd.org Subject: Re: rc.conf startup dirs vs X11R6 symlink X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 14:27:30 -0000 --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--