| Summary: | SELinux is preventing /usr/libexec/gdm-session-worker from 'read' accesses on the fichier /home/Ymreth/.dmrc. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Willy Lellouch <willy.lellouch> |
| 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: | 14 | CC: | brucemartin10, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:f602f5c7119f6bc4159094933cf08f54d4bc5184c948ecb872051ad86b433142 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-02 10:21:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/Ymreth/.dmrc default label should be xdm_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/Ymreth/.dmrc Please reopen if this happens again. |
SELinux is preventing /usr/libexec/gdm-session-worker from 'read' accesses on the fichier /home/Ymreth/.dmrc. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /home/Ymreth/.dmrc default label should be xdm_home_t. Then you can run restorecon. Do # /sbin/restorecon -v /home/Ymreth/.dmrc ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that gdm-session-worker should be allowed read access on the .dmrc 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 unconfined_u:object_r:user_home_dir_t:s0 Target Objects /home/Ymreth/.dmrc [ file ] Source gdm-session-wor Source Path /usr/libexec/gdm-session-worker Port <Inconnu> Host (removed) Source RPM Packages gdm-2.32.1-2.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux SAM-9000 2.6.35.12-90.fc14.i686 #1 SMP Fri Apr 22 16:14:44 UTC 2011 i686 i686 Alert Count 1 First Seen sam. 30 avril 2011 11:20:36 CEST Last Seen sam. 30 avril 2011 11:20:36 CEST Local ID 7b785d1a-5c2d-4a2d-ac22-aec8849cd08c Raw Audit Messages type=AVC msg=audit(1304155236.701:22739): avc: denied { read } for pid=3116 comm="gdm-session-wor" name=".dmrc" dev=dm-2 ino=15204935 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file type=SYSCALL msg=audit(1304155236.701:22739): arch=i386 syscall=open success=no exit=EACCES a0=8d03388 a1=8000 a2=0 a3=8c95640 items=0 ppid=3097 pid=3116 auid=500 uid=500 gid=0 euid=500 suid=500 fsuid=500 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gdm-session-wor,xdm_t,user_home_dir_t,file,read audit2allow #============= xdm_t ============== allow xdm_t user_home_dir_t:file read; audit2allow -R #============= xdm_t ============== allow xdm_t user_home_dir_t:file read;