[Bug 531027] Re: GLIB WARNING ** GLib - getpwuid_r(): failed due to unknown user id (0)

avius avi142 at gmail.com
Tue Mar 16 01:15:02 UTC 2010


I recently upgraded to lucid alpha and I have an infinite login loop occurring due to this issue. I get the message:
GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
printed onto tty6, and my .xsession-errors log file has a line saying:
 .: 34: Can't open /home/avius/.profile

I tracked down where this was coming from, and it is located in the script /etc/gdm/Xsession
At line 34, it does a relatively simple thing - it tries to execute the /home/avius/.profile file.
I did some experimenting and apparently the issue happens because of a permissions problem. For instance, as a method of debugging, I inserted a line of code right before the line I just mentioned, with the command ls -al $HOME
As expected, it returns an error stating that permissions where denied to enter my home directory. I used chroot to temporarily change permissions on my home directory and the .profile file so that each could be completely read, modified, executed by everyone, but the infinite loop persists.

Any ideas?

-- 
 GLIB WARNING ** GLib - getpwuid_r(): failed due to unknown user id (0)
https://bugs.launchpad.net/bugs/531027
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to util-linux in ubuntu.




More information about the kernel-bugs mailing list