Bug 729302

Summary: pam-welcome stack should not use using pam_selinux
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kay, lpoetter, rstrode, selinux
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdm-3.1.2-5.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-22 15:21:16 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:

Description Daniel Walsh 2011-08-09 12:52:16 UTC
This is causing the welcome program to run as unconfined_t and prevents confined users from logging in.

Removing pam_selinux from the stack (as well as pam_namespace) changes the entire xdm suite to run as xdm_t as it should and allows me to login as staff_t not, unconfined_t.

If you want to use pam at all, you probably want a very limited stack.

Comment 1 Ray Strode [halfline] 2011-08-09 18:40:31 UTC
i'll push a fix now that culls the pam list a bit in the service file, to prevent the greeter from running unconfined.

There's another problem where the pam conversation is run in the main slave process instead of a welcome specific subprocess, so the subsequent worker processes are run as if they're part of the welcome session.  I'll address that when I get time to work on this upstream.

Comment 2 Fedora Update System 2011-08-09 18:58:26 UTC
gdm-3.1.2-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gdm-3.1.2-5.fc16

Comment 3 Fedora Update System 2011-08-09 21:54:31 UTC
Package gdm-3.1.2-5.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gdm-3.1.2-5.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gdm-3.1.2-5.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-08-22 15:21:12 UTC
gdm-3.1.2-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.