From owner-freebsd-stable@FreeBSD.ORG Sun May 27 22:10:11 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3AD916A400 for ; Sun, 27 May 2007 22:10:11 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 4256013C465 for ; Sun, 27 May 2007 22:10:10 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1044459mue for ; Sun, 27 May 2007 15:10:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=n/Xt9BkkNIbyM6MUJtZL5o3AUIxMK3aLlHsGV5a+Me6FCUL3jWpdaOZ7Nk3+KvGV8JZUfKd0LLN/HvkyySMvASpcJqrCa9iTLqT3wunZ1K8L/rXVkBovcAHLLpwR9JWTslLuVD5tJOiGmT3duNK5g/Io1l3IYnPo0+z/sEuoz7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sWjt8oEUarDum1HJ6cbsP7IG72fUjXFx6NfULEwZXAsPBw0PYWWrhsV4/SreN3nXKI5Ntrd5pnIwwO8J9E0HueY+Ny5J+6St6u7oI179gnbqU3rkN3KrUbqKtVPz7WVgX7nX3iYRMLIVCxkC0Ays8PD7jxeEu4y9hTRVU8mn+LU= Received: by 10.82.163.13 with SMTP id l13mr9672372bue.1180303809130; Sun, 27 May 2007 15:10:09 -0700 (PDT) Received: by 10.82.185.16 with HTTP; Sun, 27 May 2007 15:10:09 -0700 (PDT) Message-ID: Date: Sun, 27 May 2007 17:10:09 -0500 From: "illoai@gmail.com" To: "Stephen Montgomery-Smith" In-Reply-To: <20070527131707.F97044@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070527125334.GA81644@pcuse.com> <20070527132131.GW47537@tcbug.org> <46598F2E.50004@infracaninophile.co.uk> <4659AF0B.3030307@math.missouri.edu> <4659BAE2.6040107@infracaninophile.co.uk> <20070527131707.F97044@math.missouri.edu> Cc: Josh Paetzel , freebsd-stable@freebsd.org, Shaun Branden Subject: Re: updating xorg-libraries 7.2 to 7.2.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2007 22:10:11 -0000 On 27/05/07, Stephen Montgomery-Smith wrote: > On Sun, 27 May 2007, Matthew Seaman wrote: > > Stephen Montgomery-Smith wrote: > >> Matthew Seaman wrote: > > > >>> Josh Paetzel wrote: > >>>> Shaun Branden wrote: > > > >>>>> xorg 7.2 was installed on this system from scratch, ie no ports to > >>>>> start > >>>>> with. > >>> sh /usr/ports/Tools/scripts/mergebase.sh > >>> > >>> before proceeding to install whatever ports you want. > > > >> My experience is that simply having the symlink /usr/X11R6->/usr/local > >> is totally sufficient. > >> > >> However it seems to me that what the port building procedure should now > >> do is the following: > >> > >> * if /usr/X11R6 exists as a directory, it should issue an error message > >> like it does now. > >> > >> * if /usr/X11R6 doesn't yet exist, silently create the symlink. > >> > >> This will mirror how it used to behave, in that if /usr/local or > >> /usr/X11R6 did not exist, they would be created as needed. > > > > Oh, agreed to that. However, there are still more changes needed > > beyond that: > > > > Stopping the system running periodic jobs from /usr/X11R6/etc/periodic > > > > Stopping the system running startup scripts from /usr/X11R6/etc/rc.d > > > > Stopping the system searching for manpages from /usr/X11R6/man > > > > The last is fairly trivial, but realise that the first two mean that > > with the /usr/X11R6 -> /usr/local link in place all > > /usr/local/etc/periodic jobs would get run twice, and even more > > importantly all /usr/local/etc/rc.d/ startup scripts would also run > > twice. > > > > Until there are new system releases incorporating the necessary changes > > in /etc/defaults/rc.conf and /etc/defaults/periodic.conf it will be > > necessary to override some of the default settings. In /etc/rc.conf: > > > > local_startup="/usr/local/etc/rc.d" I had never previously noticed that (/usr/X11R6/etc/rc.d) in /etc/defaults/rc.conf. I understand why it is in there but I find it overly solicitous towards that beast. > > > > In /etc/periodic.conf: > > > > local_periodic="/usr/local/etc/periodic" > > > > and for completeness sake, comment out the 'X11R6' lines in > > /etc/manpath.conf > > I think that the easiest way (i.e. least disruption) is to add to each of > the X11R6 scripts a test at their beginning to see if X11R6 is a symlink > to /usr/local, and have the scripts do nothing if this is the case. This > way people who haven't yet switched to xorg-7.2 will not be disadvantaged > in any way. (I don't think simply testing to see if X11R6 is a symlink by > itself will be sufficient because I bet that some people already have > symlinks like X11R6->X11 or such like.) Philosophically, I would have voted for /usr/X11R6/etc/rc.d never appearing in /etc/defaults/rc.conf in the first place. Setting the string explicitly in /etc/rc.conf seems just fine by me. Of course, X having its own etc tree (oh, you special little thing, you) was likely a silly idea all along. Of course, given its absurd compexity and size one could easily adopt the opposite argument. -- --