Comment 88 for bug 532984

Revision history for this message
Christoph (christoph-thomas) wrote : Re: Ubuntu 10.04 Alpha 3 won't boot on HP Compaq Pentium 4; displays an irrelevant Glib warning on the console

Hi,
I had this odd warning
"getpwid_r(): failed due to unknown user id (0)"
some time ago (I think it was karmic) and got yesterday the same problem with lucid. Since there are already some Bugs filed (565936 and 531027) I decided to add a comment to this open bug what was the solution for me. Maybe it helps somebody.

The problem was related to the directory "/tmp" in all cases this directory was not writable. So you might check if "ls -ld /tmp" gives you the mod 777 (rwxrwxrwx). If this one is OK, you might try to copy a file into "/tmp".
If your problem occurs only once in a while it might be because you have an own partition for "/tmp" (in this case you should check the mod of the mountpoint and of the mounted partition). I found that sometimes e2fsck was running for the device which was assigned to "/tmp" when the display manager (gdm in my case) was started. You might solve this with the "bootwait" option in fstab of if you disable the filesystemcheck for "/tmp" (this gave me a real hedache, since the filesystem was defect in my case and endet unfortionatly with the same errormessage).

Cheers, Chris