| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from 'read' accesses on the file utmp. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jann Horn <jannhorn> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:344324a481074e2c5de0ec7a97fb9c884a8cad14d4d7d5eeaa16d6038fcfbd87 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-14 11:53:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
/var/run/utmp is mislabeled. Not sure how got this mislabeling. # restorecon -R -v /var/run/utmp will fix. |
SELinux is preventing /usr/libexec/gdm-session-worker from 'read' accesses on the file utmp. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that gdm-session-worker should be allowed read access on the utmp file 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-session-wor /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 system_u:object_r:var_run_t:s0 Target Objects utmp [ file ] Source gdm-session-wor Source Path /usr/libexec/gdm-session-worker Port <Unbekannt> Host (removed) Source RPM Packages gdm-3.0.4-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.40.6-0.fc15.i686 #1 SMP Tue Oct 4 00:51:19 UTC 2011 i686 i686 Alert Count 4 First Seen Sa 12 Nov 2011 15:46:00 CET Last Seen Sa 12 Nov 2011 15:46:01 CET Local ID d9d672b0-7887-4ab9-8845-99e821270248 Raw Audit Messages type=AVC msg=audit(1321109161.416:59): avc: denied { read } for pid=1469 comm="gdm-simple-slav" name="utmp" dev=tmpfs ino=12073 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file type=SYSCALL msg=audit(1321109161.416:59): arch=i386 syscall=open success=no exit=EACCES a0=4793f523 a1=88000 a2=82736e8 a3=4793f529 items=0 ppid=1456 pid=1469 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=gdm-simple-slav exe=/usr/libexec/gdm-simple-slave subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gdm-session-wor,xdm_t,var_run_t,file,read audit2allow #============= xdm_t ============== allow xdm_t var_run_t:file read; audit2allow -R #============= xdm_t ============== allow xdm_t var_run_t:file read;