Bug 872367
| Summary: | SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the file /etc/passwd. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ZetaFunction <zetafunction11> | ||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:838f04c837bb48739b45edaa14da7bbbcd3713ca70f67f739aaf4e688b3ab8ba | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-12-20 16:26:19 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
ZetaFunction
2012-11-01 21:51:20 UTC
Created attachment 636849 [details]
File: type
Created attachment 636850 [details]
File: hashmarkername
I sent SIGHUP to packagekit process (via 'SystemMonitor', not terminal), and then got this error. But previously I ordinary sent this signal, and window used to pop up with password reques. # grep ksysguardproces /var/log/audit/audit.log | audit2allow -M mypol Nothing to do Could you attach the avc's. ausearch -m avc time->Tue Nov 6 15:23:37 2012
type=SYSCALL msg=audit(1352201017.855:83): arch=c000003e syscall=2 success=no exit=-13 a0=7f0ae5eb16ca a1=80000 a2=1b6 a3=238 items=0 ppid=2073 pid=2074 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)
type=AVC msg=audit(1352201017.855:83): avc: denied { read } for pid=2074 comm="ksysguardproces" na="passwd" dev="sda7" ino=46258 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=sysm_u:object_r:passwd_file_t:s0 tclass=file
----
time->Tue Nov 6 15:23:37 2012
type=SYSCALL msg=audit(1352201017.855:84): arch=c000003e syscall=2 success=no exit=-13 a0=7f0ae5eb16ca1=80000 a2=1b6 a3=238 items=0 ppid=2073 pid=2074 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 ed=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ksysguardproces" exe="/usr/libexec/kde4/ksysguardpcesslist_helper" subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1352201017.855:84): avc: denied { read } for pid=2074 comm="ksysguardproces" na="passwd" dev="sda7" ino=46258 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=sysm_u:object_r:passwd_file_t:s0 tclass=file
----
time->Tue Nov 6 15:23:38 2012
type=SYSCALL msg=audit(1352201018.157:86): arch=c000003e syscall=2 success=no exit=-13 a0=7f83455186ca1=80000 a2=1b6 a3=238 items=0 ppid=2078 pid=2079 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 ed=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ksysguardproces" exe="/usr/libexec/kde4/ksysguardpcesslist_helper" subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1352201018.157:86): avc: denied { read } for pid=2079 comm="ksysguardproces" na="passwd" dev="sda7" ino=46258 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=sysm_u:object_r:passwd_file_t:s0 tclass=file
----
time->Tue Nov 6 15:23:38 2012
type=SYSCALL msg=audit(1352201018.158:87): arch=c000003e syscall=2 success=no exit=-13 a0=7f83455186ca1=80000 a2=1b6 a3=238 items=0 ppid=2078 pid=2079 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 ed=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ksysguardproces" exe="/usr/libexec/kde4/ksysguardpcesslist_helper" subj=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1352201018.158:87): avc: denied { read } for pid=2079 comm="ksysguardproces" na="passwd" dev="sda7" ino=46258 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=sysm_u:object_r:passwd_file_t:s0 tclass=file
Added.
commit 4179ed3994c3e2ba041dfe42cd2a8631ceddc528
Author: Miroslav Grepl <mgrepl>
Date: Wed Nov 7 12:44:20 2012 +0100
gnomessytemmm_t needs to read /etc/passwd
selinux-policy-3.10.0-161.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-161.fc17 Package selinux-policy-3.10.0-161.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-161.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18787/selinux-policy-3.10.0-161.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-161.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |