From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 24 13:00:12 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEAA516A41F for ; Thu, 24 Nov 2005 13:00:12 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A79143D6A for ; Thu, 24 Nov 2005 12:59:57 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id DCBE913FE46; Thu, 24 Nov 2005 13:59:55 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id B9AEBB5304; Thu, 24 Nov 2005 13:59:55 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 83D1AB52F9; Thu, 24 Nov 2005 13:59:55 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 2B9B813FE46; Thu, 24 Nov 2005 13:59:55 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id jAOCxsWw010926; Thu, 24 Nov 2005 13:59:54 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id jAOCxsUE002358; Thu, 24 Nov 2005 13:59:54 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id jAOCxsRK068137; Thu, 24 Nov 2005 13:59:54 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id jAOCxpxF068136; Thu, 24 Nov 2005 13:59:51 +0100 (CET) (envelope-from q@galgenberg.net) Date: Thu, 24 Nov 2005 13:59:51 +0100 From: Ulrich Spoerlein To: Alexander Leidinger Message-ID: <20051124125951.GD1054@galgenberg.net> Mail-Followup-To: Alexander Leidinger , Robert Huff , freebsd-emulation@freebsd.org References: <17284.32307.784247.207350@jerusalem.litteratus.org> <20051124105440.cqdu7ydpc084kgsc@netchild.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="//IivP0gvsAy3Can" Content-Disposition: inline In-Reply-To: <20051124105440.cqdu7ydpc084kgsc@netchild.homeip.net> X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: freebsd-emulation@freebsd.org, Robert Huff Subject: Re: warning X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 13:00:13 -0000 --//IivP0gvsAy3Can Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alexander Leidinger wrote: > Robert Huff wrote: > > While upgrading x11/toolkits/linux-gtk2, I get this: > > > >GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0) > > > > Nothing seems to be broken, but I'd like to confirm this isn't > >the harbinger for some more obscure but equally damaging problem. > >(And, of course, learn how to make it go away if possible.) >=20 > I've seen this too at the time I created the update for the port. So far = I've > seen no problem so far. It's just a warning, not an error (according to t= he > message you quoted here). I assume GTK is able to differentiate between a > warning and an error. >=20 > I have some ideas what may be the cause (it may involve LINUXBASE/etc/pas= swd > and related files), but so far I hadn't time to investigate this closer a= nd > maybe quiet the warning somehow. I get a similar error when running acroread7. My UID is 1000 and is not in /etc/passwd, but comes from NIS. Sadly, acroread7 bails out, if it can't resolve the UID. The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too. It's a minor inconvenience, that nsswitch.conf gets clobbered every time linux_base is reinstalled (and thereby breaking acroread7 for me). Robert: Is UID 0 in your /etc/passwd? Can you try changeing /compat/linux/etc/nsswitch.conf to something like this: passwd: files nisplus nis shadow: files nisplus nis group: files nisplus nis Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --//IivP0gvsAy3Can Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhblHmArGtfDbn0QRAostAJ9ykCYMFubD5eYAXbyiTg09cwFVXgCfaueM lAvSC4GTXSDrytQHtYsSx/A= =hy9s -----END PGP SIGNATURE----- --//IivP0gvsAy3Can--