nanogui: Re: off topic [nanogui] files needed for poweroff
Subject:
Re: [nanogui] Re: off topic [nanogui] files needed for poweroff
From:
Jordan Crouse ####@####.####
Date:
30 May 2001 14:14:42 -0000
Message-Id: <01053008131701.04639@cosmic>
It comes from some of the old uucp stuff, so its more of a "somebody called N
tried something, but I have no idea who it is" message than anything. The
really funky part is that the /etc/passwd file is usually not corrupted,
*AND* if you type 'whoami' you get the correct name (because the environment
variable is set). In fact, you can read / write / modify all with the full
support of the kernel, because your uuid really isn't bad.
This bug is courtesy of the libc, and I personally hate it. The specific
problem is that you are missing the libnss_files.so.1 and/or libnss_db.so.1
(I forget which one is needed now, either are acceptable). Anyway, the libc
uses this shared library to look up names in the passwd file (much like it
uses libnss_dns.so.1 or libnss_nis.so.1 to look up domain names). So if you
don't have the library, it can't do the /etc/passwd lookup, and thus thinks
that you are missing, even though the rest of the system thinks you are
legitimate.
So you need to add the appropriate libnss shared libraries, and then you need
to make sure you have /etc/nsswitch.conf, and that it is correctly set up to
look up the passwd as well as some of the other more important ones (dns,
etc, etc...)
Good luck!
Jordan
this On Wednesday 30 May 2001 03:35, Alex Holden mentioned:
> On Wed, 30 May 2001, Gary James wrote:
> > Search for that string in your favorite search engine and I think you'll
> > get all the answers you want. Here's the first link from google, it
> > pretty much explains the problem.
>
> Not a very useful error message, is it. I don't know why they didn't just
> use something like "Couldn't find uuid %d in the password database\n".