From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 6 15:39:02 2007 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E61B416A506 for ; Wed, 6 Jun 2007 15:39:01 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4C813C4BE for ; Wed, 6 Jun 2007 15:39:01 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070606153859.OQLY13718.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Wed, 6 Jun 2007 11:38:59 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id 8Fez1X00T4iy4EG0000000; Wed, 06 Jun 2007 11:39:00 -0400 Date: Wed, 06 Jun 2007 10:41:40 -0500 To: "Gary Kline" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20070602235124.GA82026@thought.org> <20070603233103.GA91077@thought.org> <20070604061244.GD93299@thought.org> <20070604214046.GA256@thought.org> <1181005726.997.4.camel@darklight> <20070605070901.GA3171@thought.org> <20070605233759.GA10157@thought.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20070605233759.GA10157@thought.org> User-Agent: Opera Mail/9.21 (Linux) Cc: Yuri Pankov , freebsd-gnome@freebsd.org Subject: Re: any clues hy Gnome isn't autobooting? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 15:39:02 -0000 On Tue, 05 Jun 2007 18:37:59 -0500, Gary Kline = wrote: > On Tue, Jun 05, 2007 at 09:08:27AM -0500, Jeremy Messenger wrote: >> On Tue, 05 Jun 2007 02:09:01 -0500, Gary Kline >> wrote: >> >> > checked the log in /var/log and saw that something was still >> > pointing to /usr/X11R6/bin. X is now in local. I thought that >> > was fixed... . Anyway, I de-/re-installed both gnome2 and >> > the meta port xorg. >> > >> > Dunno; I just cd'd to usr/local and did a grep -r -w X11R6; there >> > are thousands of X11R6 regex's in places. In >> > var/log/debug.log is the following: >> >> Does your system has /usr/X11R6 symlink to /usr/local? > > > I ran the shell script in UPDATING; it completed. > Yhere was something strange that I yelped to -questions > about. After zero replies,, I created to missing symlinks > to some /usr/X11R6/lib/* and then stuff began working. If you have some stuff in /usr/X11R6/lib/, then you should reinstall the= se = to get actually install in /usr/local. Better result is to get /usr/X11R= 6 = -> /usr/local, not random links in /usr/X11R6/lib/*. > Is there a way of checkinf for the zillions of symbolic > links or should I just re-run the script? ((If/next time > I'll run with /bin/sh -x)) In the /usr/ports/UPDATING explains: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D The final step is to merge remaining files from /usr/X11R6 into /usr/local (/usr/X11R6 is no longer used with xorg 7.2) and replace /usr/X11R6 with a symlink. A script is provided for your convenience (or you may choose to do this by hand): it will first attempt to back up your /usr/X11R6 into /usr/tmp/mergebase in case something goes wrong, then look for conflicts (files in /usr/X11R6 that would overwrite files in /usr/local). Depending on your system configuration you may have to resolve some of these conflicts by hand first (if in doubt, ask for help on freebsd-x11@FreeBSD.org). You may also need to edit the script if the default locations are not correct on your system. [...] # sh /usr/ports/Tools/scripts/mergebase.sh When the merge operation completes successfully, the /usr/X11R6 directory hierarchy will be removed and replaced by a symlink to /usr/local. This symlink is necessary because some binary ports (and= some remaining source ports) have hard-coded references to /usr/X11R6= . =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D If it doesn't do what it is supposed to, talk with = freebsd-x11@FreeBSD.org. Mine has: # ls -l /usr/X11R6 lrwxr-xr-x 1 root wheel 10 May 21 13:02 /usr/X11R6@ -> /usr/local >> >Jun 5 00:04:06 tao2 sshd[18092]: NSSWITCH(nss_method_lookup): nis, >> >group_compat, endgrent, not found >> >Jun 5 00:04:06 tao2 sshd[18093]: NSSWITCH(nss_method_lookup): nis, >> >passwd_compat, endpwent, not found >> >Jun 5 00:04:19 tao2 ls: NSSWITCH(nss_method_lookup): nis, >> >passwd_compat, setpwent, not found >> >Jun 5 00:04:19 tao2 ls: NSSWITCH(nss_method_lookup): nis, = >> group_compat, >> >setgrent, not found >> >Jun 5 00:04:21 tao2 ls: NSSWITCH(nss_method_lookup): nis, >> >passwd_compat, setpwent, not found >> >Jun 5 00:04:21 tao2 ls: NSSWITCH(nss_method_lookup): nis, = >> group_compat, >> >setgrent, not found >> >Jun 5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, = >> group_compat, >> >setgrent, not found >> >Jun 5 00:04:39 tao2 su: NSSWITCH(nss_method_lookup): nis, = >> group_compat, >> >endgrent, not found >> >tao2# >> >> It looks like you have installed FreeBSD with NO_NIS=3Dyes? If you do= , = >> read >> in nsswitch.conf(5) and it said: >> >> NOTES >> If system got compiled with NO_NIS you have to remove `nis' = >> entries. >> > > Hmm, I see that Garrett Cooper has NO_NIS=3Dno in /etc/make.conf, > so that should settle that. I've also grep'd around/etc and > nothing looks suspicious. --All the nis_* flags are either > NULL or NO. Above in the NOTES means that you need to remove 'nis' from = /etc/nsswitch.conf. Mine has by default: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D group: compat group_compat: nis <-- here hosts: files dns networks: files passwd: compat passwd_compat: nis <-- here shells: files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Cheers, Mezz > (tao//newtao is/will be where I hang out; different with my DNS > box.) > > Arrrg,me hearties! me still be lost! [1] >> Cheers, >> Mezz >> > [1] lost andor braindead. after 4 hours of severe writing my brain > was gng to explode or shoulder fall off -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org