Bug 547925

Summary: SELinux is preventing boinccmd (munin_t) "read" var_lib_t.
Product: [Fedora] Fedora Reporter: cje
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:db064aeb74624c8f316793d39e00108c60c00439873eb2f3a06a355f9d665ae0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-16 12:28:37 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 cje 2009-12-16 01:31:01 UTC
Summary:

SELinux is preventing boinccmd (munin_t) "read" var_lib_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by boinccmd. It is not expected that this access
is required by boinccmd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:system_r:munin_t:s0
Target Context                unconfined_u:object_r:var_lib_t:s0
Target Objects                /var/lib/boinc/gui_rpc_auth.cfg [ file ]
Source                        boinccmd
Source Path                   /usr/bin/boinccmd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           boinc-client-6.6.37-2.r18632svn.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-88.fc11
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.30.9-90.fc11.x86_64 #1 SMP Sat Oct
                              17 11:25:35 EDT 2009 x86_64 x86_64
Alert Count                   10841
First Seen                    Thu 26 Nov 2009 07:17:07 GMT
Last Seen                     Fri 11 Dec 2009 17:25:06 GMT
Local ID                      c34b8b82-25d0-4225-81ea-dfb92f51a02f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1260552306.430:328473): avc:  denied  { read } for  pid=23969 comm="boinccmd" name="gui_rpc_auth.cfg" dev=dm-0 ino=1620156 scontext=unconfined_u:system_r:munin_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260552306.430:328473): avc:  denied  { open } for  pid=23969 comm="boinccmd" name="gui_rpc_auth.cfg" dev=dm-0 ino=1620156 scontext=unconfined_u:system_r:munin_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1260552306.430:328473): arch=c000003e syscall=2 success=yes exit=3 a0=33d64375f8 a1=0 a2=1b6 a3=238 items=0 ppid=23967 pid=23969 auid=500 uid=0 gid=482 euid=0 suid=0 fsuid=0 egid=482 sgid=482 fsgid=482 tty=(none) ses=6678 comm="boinccmd" exe="/usr/bin/boinccmd" subj=unconfined_u:system_r:munin_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-88.fc11,catchall,boinccmd,munin_t,var_lib_t,file,read
audit2allow suggests:

#============= munin_t ==============
allow munin_t var_lib_t:file { read open };

Comment 1 Miroslav Grepl 2009-12-16 12:28:37 UTC

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