Bug 448237

Summary: Graphic logins fails while using pam-mkhomedir
Product: [Fedora] Fedora Reporter: Javier Palacios <javiplx>
Component: gdmAssignee: jmccann
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 9CC: cschalle, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdm-2.22.0-5.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-30 21:22:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Log output during the graphics login none

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.