Bug 448237 - Graphic logins fails while using pam-mkhomedir
Summary: Graphic logins fails while using pam-mkhomedir
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 9
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: jmccann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-24 21:02 UTC by Javier Palacios
Modified: 2015-01-14 23:21 UTC (History)
2 users (show)

Fixed In Version: gdm-2.22.0-5.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-30 21:22:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Log output during the graphics login (4.49 KB, application/x-gzip)
2008-05-24 21:02 UTC, Javier Palacios
no flags Details

Description Javier Palacios 2008-05-24 21:02:24 UTC
I have enabled pam-mkhomedir. If I try to login as a user without home
directory, it is created only with console logins (su, tty, ssh) but not when
the login is performed with xdm.

The screen background changes to the expected one, but never goes beyond.
Looking at the filesystem, the homedir for the logged user is not created.
It's probably trying to access to home directory after pam-auth but before
pam-session.

I'm sure that it is not a selinux problem because any other login type works,
and because I have allowed every single rule from audit2allow with debug mode on.

It happens in enforcing and permisive modes (not tested with selinux disabled).

I send attached the full log output during one attempt.

Comment 1 Javier Palacios 2008-05-24 21:02:24 UTC
Created attachment 306587 [details]
Log output during the graphics login

Comment 2 Ray Strode [halfline] 2008-05-25 00:13:42 UTC
what version of gdm?

Comment 3 Javier Palacios 2008-05-25 09:08:40 UTC
The one shiped with fedora 9 with no updates. Actually that is the first fedora
version with mkhomedir integrated into authconfig.

Comment 4 Ray Strode [halfline] 2008-05-25 16:19:23 UTC
We did a GDM update on the 20th that may address your problem.

Do you have version gdm-2.22.0-5.fc9 installed?

Comment 5 Javier Palacios 2008-05-29 18:33:44 UTC
The problem is solved in current release. Once upgraded, works without problems.

Comment 6 Ray Strode [halfline] 2008-05-30 21:22:48 UTC
excellent.

Comment 7 Javier Palacios 2008-06-06 20:18:23 UTC
Just for information, after fixing other issues related to selinux, the problem
does not exists even with the initial gdm-2.22.0-1, and obviously still works
with the updated package.


Note You need to log in before you can comment on or make changes to this bug.