Bug 1224761
| Summary: | SELinux is preventing /usr/sbin/gdm from rmdir access on the directory auth-for-gdm-sVurjk | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vadim Rutkovsky <vrutkovs> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | lmiksik, lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde, vrutkovs |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 10:34:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
It seems that some files/directories on your machine are mislabeled. Please run following command: # restorecon -Rv /var/run/gdm Doesn't happen on clean installation anymore, thanks! Verified on selinux-policy-3.13.1-46.el7.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2300.html |
Description of problem: SELinux is preventing /usr/sbin/gdm from rmdir access on the directory auth-for-gdm-sVurjk Version-Release number of selected component (if applicable): selinux-policy-3.13.1-25.el7.noarch How reproducible: Steps to Reproduce: 1. Restart gdm service Actual results: SELinux is preventing /usr/sbin/gdm from rmdir access on the directory auth-for-gdm-sVurjk. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdm should be allowed rmdir access on the auth-for-gdm-sVurjk directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep gdm /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:var_run_t:s0 Target Objects auth-for-gdm-sVurjk [ dir ] Source gdm Source Path /usr/sbin/gdm Port <Unknown> Host localhost.localdomain Source RPM Packages gdm-3.14.2-1.el7.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-25.el7.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name vrutkovs-rhel72 Platform Linux vrutkovs-rhel72 3.10.0-253.el7.x86_64 #1 SMP Fri May 15 07:56:02 EDT 2015 x86_64 x86_64 Alert Count 6 First Seen 2015-05-25 09:48:58 EDT Last Seen 2015-05-25 10:40:11 EDT Local ID a2d242b5-ff80-4036-bb0a-a86cbce8c52d Raw Audit Messages type=AVC msg=audit(1432564811.326:562): avc: denied { rmdir } for pid=32210 comm="gdm" name="auth-for-gdm-sVurjk" dev="tmpfs" ino=24235 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=dir type=SYSCALL msg=audit(1432564811.326:562): arch=x86_64 syscall=rmdir success=no exit=ENOTEMPTY a0=7f286b8ffae0 a1=1 a2=0 a3=0 items=0 ppid=1 pid=32210 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=gdm exe=/usr/sbin/gdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gdm,xdm_t,var_run_t,dir,rmdir