Bug 468530
Summary: | SELinux is preventing gdm-binary (xdm_t) "unlink" to ./force-display-on-active-vt (var_spool_t). | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jim Meyering <meyering> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dwalsh, jkubin, mclasen, mgrepl, 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: | 2008-10-28 12:39:17 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: | |||
Bug Depends On: | |||
Bug Blocks: | 438943 |
Description
Jim Meyering
2008-10-25 16:51:40 UTC
This looks like /var/spool/gdm is not labeled correctly. restorecon -R -v /var/spool Should fix. I have no idea how this got mislabeled, did you remove and readd the directory? Hi Dan, No, I never removed either of those directories, and that restorecon command affected only the cron files: # ls -dlZ /var/spool /var/spool/gdm drwxr-xr-x+ 12 root root system_u:object_r:var_spool_t:s0 4096 2008-10-21 10:20 /var/spool/ drwxrwxr-x+ 2 root root system_u:object_r:xdm_spool_t:s0 4096 2008-10-27 07:49 /var/spool/gdm/ # restorecon -R -v /var/spool restorecon reset /var/spool/anacron/cron.daily context system_u:object_r:var_spool_t:s0->system_u:object_r:system_cron_spool_t:s0 restorecon reset /var/spool/anacron/cron.weekly context system_u:object_r:var_spool_t:s0->system_u:object_r:system_cron_spool_t:s0 restorecon reset /var/spool/anacron/cron.monthly context system_u:object_r:var_spool_t:s0->system_u:object_r:system_cron_spool_t:s0 Jim. Where is the file force-display-on-active-vt located? /var/spool/gdm/force-display-on-active-vt Jim you were not able to get this to happen again correct, so the only thing I canthink of was a mislabeling. So unless you can get it to happen again, I am going to close this bug. Dan, sounds good. Thanks for investigating. |