Bug 632992

Summary: SELinux is preventing /usr/bin/kdialog "write" access on /usr/share/locale/en_US/entry.desktop.
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:ba7cbe76e427212fb19c9ff5baf27bf4e7866a52685da9f2a9939d384b93b2a3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-13 13:25:39 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:14:13 UTC
Summary:

SELinux is preventing /usr/bin/kdialog "write" access on
/usr/share/locale/en_US/entry.desktop.

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:locale_t:s0
Target Objects                /usr/share/locale/en_US/entry.desktop [ file ]
Source                        nspluginscan
Source Path                   /usr/bin/nspluginscan
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.5.1-1.fc14
Target RPM Packages           kdebase-runtime-4.5.1-1.fc14
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                   8
First Seen                    Sat 11 Sep 2010 11:45:10 PM CEST
Last Seen                     Sat 11 Sep 2010 11:45:15 PM CEST
Local ID                      198782e2-ecd0-4cd2-bf71-1a1348c8eb96
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284241515.878:43): avc:  denied  { write } for  pid=3341 comm="kdialog" name="entry.desktop" dev=dm-0 ino=1719978 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:locale_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1284241515.878:43): arch=40000003 syscall=33 success=no exit=-13 a0=8c44d48 a1=2 a2=5ea610c a3=8c42438 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,nspluginscan,nsplugin_t,locale_t,file,write
audit2allow suggests:

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

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

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