Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange issue starting gdm - /var/gdm not found [2005.1 Bug]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
barry
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 170
Location: UK

PostPosted: Sat Aug 13, 2005 2:48 pm    Post subject: Strange issue starting gdm - /var/gdm not found [2005.1 Bug] Reply with quote

I've installed 2005.1 and am unable to start gdm from the console:

Quote:
# gdm
gdm_config_parse: Authdir /var/gdm does not exist. Aborting.


The directory /var/gdm does exist and has standard permissions. On my old installation, which has the same version of gcc, glibc, xorg-x11, gdm, etc. there are no problems. The user gdm is on both systems and the PAM configuration looks the same. I tried running an strace on both systems. The output is identical until this point:

New:
Quote:
access("/usr/bin/gdmgreeter", X_OK) = 0
access("/usr/bin/gdmlogin", X_OK) = 0
access("/usr/bin/gdmchooser", X_OK) = 0
stat64("/var/gdm", 0xaf9b49f0) = -1 EACCES (Permission denied)

Old:
Quote:
access("/usr/bin/gdmgreeter", X_OK) = 0
access("/usr/bin/gdmlogin", X_OK) = 0
access("/usr/bin/gdmchooser", X_OK) = 0
stat64("/var/gdm", {st_mode=S_IFDIR|S_ISVTX|0770, st_size=128, ...}) = 0

Both systems:

Quote:
File: `/var/gdm'
Size: 176 Blocks: 0 IO Block: 131072 directory
Device: 303h/771d Inode: 336924 Links: 2
Access: (1770/drwxrwx--T) Uid: ( 0/ root) Gid: ( 32/ gdm)

Quote:
File: `/var/gdm'
Size: 72 Blocks: 0 IO Block: 131072 directory
Device: 309h/777d Inode: 335420 Links: 2
Access: (1770/drwxrwx--T) Uid: ( 0/ root) Gid: ( 32/ gdm)


I've tried reinstalling gdm, upgrading to the ~x86 version, and even an emerge -e system - the problem remains. Any ideas?


Last edited by barry on Sat Aug 13, 2005 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
barry
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 170
Location: UK

PostPosted: Sat Aug 13, 2005 3:54 pm    Post subject: Reply with quote

Well, I've managed to find the problem:

The stage3 2005.1 athlon-xp archive is broken.

The directory permissions on '/' are incorrect. Changing the permissions to the correct value makes this problem go away. However, I've now no idea if parts of the rest of the installation will be broken too.

https://bugs.gentoo.org/show_bug.cgi?id=101962
Back to top
View user's profile Send private message
JohnY
Guru
Guru


Joined: 26 Jul 2002
Posts: 305

PostPosted: Wed Apr 26, 2006 1:50 am    Post subject: Reply with quote

Well I just got bit by the same '/' permissions problem. Strangely it didn't show up until I upgraded to gdm-2.14.2.
It only took 3 days of searching to define the problem the right way to find the answer. Oh well, learned at lot about gdm and it's evolution along the way.

JohnY
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum