warning
Ulrich Spoerlein
q at galgenberg.net
Thu Nov 24 05:00:13 PST 2005
Alexander Leidinger wrote:
> Robert Huff <roberthuff at rcn.com> 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.)
>
> 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 the
> message you quoted here). I assume GTK is able to differentiate between a
> warning and an error.
>
> I have some ideas what may be the cause (it may involve LINUXBASE/etc/passwd
> and related files), but so far I hadn't time to investigate this closer and
> 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
--
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20051124/b3d36edb/attachment.bin
More information about the freebsd-emulation
mailing list