Bug 891114
| Summary: | SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the file /etc/passwd. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mustafa Muhammad <mustafa1024m> | ||||||
| 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: | 18 | 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: | 2013-01-02 12:54:13 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: |
|
||||||||
Created attachment 671120 [details]
File: type
Created attachment 671121 [details]
File: hashmarkername
Please update your system. # yum update (In reply to comment #3) > Please update your system. > > # yum update Thanks, now it works. |
Description of problem: I tried to kill a process (yumBackend) because it was taking forever so I wanted to use yum. Instead of displaying a dialog box asking for root passward to allow me to kill the process, I got AVC denial. How reproducible: Always How to reproduce: 1) As a user (not in the Admins group) try to kill a root process What happens: AVC denial What is expected: Display a dialog asking for the root password and after entering it, executing the command. Additional info: libreport version: 2.0.17 kernel: 3.6.6-3.fc18.x86_64 description: :SELinux is preventing /usr/libexec/kde4/ksysguardprocesslist_helper from 'read' accesses on the file /etc/passwd. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that ksysguardprocesslist_helper should be allowed read access on the passwd 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:passwd_file_t:s0 :Target Objects /etc/passwd [ file ] :Source ksysguardproces :Source Path /usr/libexec/kde4/ksysguardprocesslist_helper :Port <Unknown> :Host (removed) :Source RPM Packages ksysguard-4.9.3-1.fc18.x86_64 :Target RPM Packages setup-2.8.57-1.fc18.noarch :Policy RPM selinux-policy-3.11.1-50.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.6-3.fc18.x86_64 #1 SMP Mon Nov : 5 16:26:34 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2013-01-01 22:24:38 AST :Last Seen 2013-01-01 22:24:38 AST :Local ID abe5120d-4520-4495-98e7-2b0caef027cd : :Raw Audit Messages :type=AVC msg=audit(1357068278.725:346): avc: denied { read } for pid=3158 comm="ksysguardproces" name="passwd" dev="sda7" ino=524739 scontext=system_u:system_r:gnomesystemmm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:passwd_file_t:s0 tclass=file : : :type=SYSCALL msg=audit(1357068278.725:346): arch=x86_64 syscall=open success=no exit=EACCES a0=7f05602306ea a1=80000 a2=1b6 a3=238 items=0 ppid=3157 pid=3158 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,passwd_file_t,file,read : :audit2allow : :#============= gnomesystemmm_t ============== :allow gnomesystemmm_t passwd_file_t:file read; : :audit2allow -R : :#============= gnomesystemmm_t ============== :allow gnomesystemmm_t passwd_file_t:file read; :