Bug 632991

Summary: SELinux is preventing /usr/bin/kdialog "write" access on /usr/share/icons/hicolor/index.theme.
Product: [Fedora] Fedora Reporter: Jaroslav Franek <jarin.franek>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:58b1987fcac1d4a8389d48d68d2511524fac9253800fba440b52a3aa88ff7e41
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-13 13:25:46 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:

Description Jaroslav Franek 2010-09-12 11:12:54 UTC
Summary:

SELinux is preventing /usr/bin/kdialog "write" access on
/usr/share/icons/hicolor/index.theme.

Detailed Description:

SELinux denied access requested by kdialog. It is not expected that this access
is required by kdialog and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                system_u:object_r:usr_t:s0
Target Objects                /usr/share/icons/hicolor/index.theme [ file ]
Source                        kdialog
Source Path                   /usr/bin/kdialog
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.5.1-1.fc14
Target RPM Packages           hicolor-icon-theme-0.12-1.fc13
Policy RPM                    selinux-policy-3.9.3-4.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.i686
                              #1 SMP Fri Aug 27 08:05:49 UTC 2010 i686 i686
Alert Count                   2
First Seen                    Sat 11 Sep 2010 11:45:15 PM CEST
Last Seen                     Sat 11 Sep 2010 11:45:16 PM CEST
Local ID                      6cf02987-e807-4cca-9ead-be35b4c6494a
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284241516.165:45): avc:  denied  { write } for  pid=3341 comm="kdialog" name="index.theme" dev=dm-0 ino=1589259 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usr_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1284241516.165:45): arch=40000003 syscall=33 success=no exit=-13 a0=8c5cdf8 a1=2 a2=5ea610c a3=8c5d310 items=0 ppid=3207 pid=3341 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="kdialog" exe="/usr/bin/kdialog" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,kdialog,nsplugin_t,usr_t,file,write
audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t usr_t:file write;

Comment 1 Daniel Walsh 2010-09-13 13:25:46 UTC

*** This bug has been marked as a duplicate of bug 632988 ***