Bug 729302 - pam-welcome stack should not use using pam_selinux
Summary: pam-welcome stack should not use using pam_selinux
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-09 12:52 UTC by Daniel Walsh
Modified: 2011-08-22 15:21 UTC (History)
4 users (show)

Fixed In Version: gdm-3.1.2-5.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-22 15:21:16 UTC


Attachments (Terms of Use)

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.


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