Bug 637410

Summary: SELinux is preventing /usr/sbin/clamd "signal" access .
Product: [Fedora] Fedora Reporter: Frank Murphy <sysoutfran>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:7bde55861e11413cd41d69a02a2713e21975f5b2a423dfb0701b3b74bc65063a
Fixed In Version: selinux-policy-3.9.5-7.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-29 12:33:11 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 Frank Murphy 2010-09-25 15:36:28 UTC
Summary:

SELinux is preventing /usr/sbin/clamd "signal" access .

Detailed Description:

SELinux denied access requested by clamd. It is not expected that this access is
required by clamd 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                system_u:system_r:clamd_t:s0
Target Context                system_u:system_r:clamd_t:s0
Target Objects                None [ process ]
Source                        clamd
Source Path                   /usr/sbin/clamd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           clamav-server-0.96.3-1500.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-4.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.36-0.26.rc5.git4.fc15.i686 #1 SMP Fri Sep 24
                              02:01:05 UTC 2010 i686 i686
Alert Count                   8
First Seen                    Fri 24 Sep 2010 08:53:55 IST
Last Seen                     Sat 25 Sep 2010 16:34:17 IST
Local ID                      dbc13ba6-d534-43ff-96bb-64dc1c63022d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285428857.721:30): avc:  denied  { signal } for  pid=1514 comm="clamd" scontext=system_u:system_r:clamd_t:s0 tcontext=system_u:system_r:clamd_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1285428857.721:30): arch=40000003 syscall=270 success=no exit=-13 a0=5ea a1=5ea a2=6 a3=a99ee0 items=0 ppid=1511 pid=1514 auid=4294967295 uid=493 gid=487 euid=493 suid=493 fsuid=493 egid=487 sgid=487 fsgid=487 tty=(none) ses=4294967295 comm="clamd" exe="/usr/sbin/clamd" subj=system_u:system_r:clamd_t:s0 key=(null)



Hash String generated from  catchall,clamd,clamd_t,clamd_t,process,signal
audit2allow suggests:

#============= clamd_t ==============
allow clamd_t self:process signal;

Comment 1 Daniel Walsh 2010-09-26 10:36:59 UTC
Miroslav add this to F13 also.

Fixed in selinux-policy-3.9.5-6.fc14

Comment 2 Fedora Update System 2010-09-27 14:46:26 UTC
selinux-policy-3.9.5-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 3 Fedora Update System 2010-09-27 20:07:56 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-7.fc14

Comment 4 Frank Murphy 2010-09-29 07:33:34 UTC
Fixed in Rawhide

Comment 5 Fedora Update System 2010-10-05 13:12:19 UTC
selinux-policy-3.9.5-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.