| Summary: | SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'write' accesses on the directory .config. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | antonio montagnani <antonio.montagnani> |
| 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: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2deee18a4a0d13a2825d018eca92f54029ad4bf99c5ac4f0e6566fe1e9dc7e15 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-18 21:20:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
restorecon -R -v /root Should fix this problem. Not sure how it got created with the wrong label. |
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'write' accesses on the directory .config. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that ksysguardprocesslist_helper should be allowed write access on the .config 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 ksysguardproces /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 Target Context system_u:object_r:root_t:s0 Target Objects .config [ dir ] Source ksysguardproces Source Path /usr/libexec/kde4/ksysguardprocesslist_helper Port <Sconosciuto> Host (removed) Source RPM Packages kdebase-workspace-4.6.3-5.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-30.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon Jun 13 19:55:27 UTC 2011 i686 i686 Alert Count 1 First Seen ven 24 giu 2011 22:52:50 CEST Last Seen ven 24 giu 2011 22:52:50 CEST Local ID 5dd78768-f018-4e06-90d2-1cbd0a4db10c Raw Audit Messages type=AVC msg=audit(1308948770.973:263): avc: denied { write } for pid=8711 comm="ksysguardproces" name=".config" dev=dm-0 ino=3014658 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:root_t:s0 tclass=dir type=SYSCALL msg=audit(1308948770.973:263): arch=i386 syscall=access success=no exit=EACCES a0=9faa868 a1=2 a2=4c48d430 a3=bfd2f904 items=0 ppid=8710 pid=8711 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ksysguardproces exe=/usr/libexec/kde4/ksysguardprocesslist_helper subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null) Hash: ksysguardproces,gnomesystemmm_t,root_t,dir,write audit2allow #============= gnomesystemmm_t ============== allow gnomesystemmm_t root_t:dir write; audit2allow -R #============= gnomesystemmm_t ============== allow gnomesystemmm_t root_t:dir write;