Bug 389001
Summary: | SELinux gnome-keyring-d denial when plugging in a USB Flash Drive | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | vfiend |
Component: | gdm | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | alexl, rstrode |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-09 07:26:58 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
vfiend
2007-11-17 23:40:10 UTC
Also happens when CDs are inserted and auto-mounted This looks like session optional pam_gnome_keyring.so auto_start Is in the wrong place in you pam file. It has to be placed after the session required pam_selinux.so open line. It is (and was by default), and I am still getting these denials. I attempted moving the line session optional pam_keyring.so to after session required pam_selinux.so open , however. This still resulted in the same denials (even after a full reboot, just to make sure). Are you sticking the usb key in before login? What does ps -eZ | grep keyring Show? No, i'm inserting the media after i've logged in. Ouput: system_u:system_r:xdm_t:s0-s0:c0.c1023 2327 ? 00:00:00 gnome-keyring-d Well that is the problem. gnome-keyring-daemon should be running in the users context not in xdm_t. Ray, do you have any idea why this is happening? On my machine I see unconfined_u:system_r:unconfined_t:s0 2775 ? 00:00:00 gnome-keyring-d Dan, not sure. Just to be sure, vfiend, you changed /etc/pam.d/gdm ? oh i see in comment 4 you mentioned pam_keyring, not pam_gnome_keyring. Those are different modules, that's probably why the change didn't work. What I don't understand is why your pam file is wrong in the first place. Is this machine from post-f7 rawhide? You moved the wrong line. session optional pam_keyring.so You were supposed to move session optional pam_gnome_keyring.so auto_start This is what mine looks like # more /etc/pam.d/gdm #%PAM-1.0 auth [success=done ignore=ignore default=bad] pam_selinux_permit.so auth required pam_env.so auth include system-auth auth optional pam_gnome_keyring.so account required pam_nologin.so account include system-auth password include system-auth session required pam_selinux.so close session include system-auth session required pam_loginuid.so session optional pam_console.so session required pam_selinux.so open session optional pam_keyinit.so force revoke session required pam_namespace.so session optional pam_gnome_keyring.so auto_start I tried both, "session optional pam_gnome_keyring.so auto_start" was already in the correct place, here is what my /etc/pam.d/gdm looks like: #%PAM-1.0 auth [success=done ignore=ignore default=bad] pam_selinux_permit.so auth required pam_env.so auth optional pam_keyring.so try_first_pass auth include system-auth auth optional pam_gnome_keyring.so account required pam_nologin.so account include system-auth password include system-auth session required pam_selinux.so close session include system-auth session required pam_loginuid.so session optional pam_console.so session optional pam_keyring.so session required pam_selinux.so open session optional pam_keyinit.so force revoke session required pam_namespace.so session optional pam_gnome_keyring.so auto_start I think this is a gdm problem. This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |