Bug 708582
| Summary: | SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'lock' accesses on the file /.config/Trolltech.conf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikita Bige <bignikita> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | 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: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:885b427a9857fe436c0ac5279bc2d84ad0ee7e850655b8ba3d9da66e3faeff99 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-28 13:47:18 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: | |||
This is a duplicate of #708581 *** This bug has been marked as a duplicate of bug 708581 *** |
SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'lock' accesses on the file /.config/Trolltech.conf. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If you want to allow ksysguardprocesslist_helper to have lock access on the Trolltech.conf file Then you need to change the label on /.config/Trolltech.conf Do # semanage fcontext -a -t FILE_TYPE '/.config/Trolltech.conf' where FILE_TYPE is one of the following: rpm_script_tmp_t, usr_t, locale_t, etc_t, gnomesystemmm_exec_t, rpm_tmp_t, system_cronjob_var_lib_t, ld_so_cache_t, policykit_var_lib_t, gnomesystemmm_t, dbusd_etc_t, userdomain, abrt_var_run_t, policykit_reload_t, sysctl_crypto_t, abrt_t, lib_t, system_dbusd_var_lib_t. Then execute: restorecon -v '/.config/Trolltech.conf' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that ksysguardprocesslist_helper should be allowed lock access on the Trolltech.conf 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 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:default_t:s0 Target Objects /.config/Trolltech.conf [ file ] Source ksysguardproces Source Path /usr/libexec/kde4/ksysguardprocesslist_helper Port <Unknown> Host (removed) Source RPM Packages kdebase-workspace-4.6.3-5.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Tue 24 May 2011 06:59:58 PM MSD Last Seen Tue 24 May 2011 06:59:58 PM MSD Local ID 30bb1c44-86ad-4887-88fc-eac0e2562a15 Raw Audit Messages type=AVC msg=audit(1306249198.827:695): avc: denied { lock } for pid=1465 comm="ksysguardproces" path="/.config/Trolltech.conf" dev=dm-0 ino=457858 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=file type=SYSCALL msg=audit(1306249198.827:695): arch=x86_64 syscall=fcntl success=yes exit=0 a0=3 a1=7 a2=7fffac8e6fa0 a3=1 items=0 ppid=1464 pid=1465 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,default_t,file,lock audit2allow #============= gnomesystemmm_t ============== allow gnomesystemmm_t default_t:file lock; audit2allow -R #============= gnomesystemmm_t ============== allow gnomesystemmm_t default_t:file lock;