Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 613240 - SELinux is preventing /usr/sbin/clamd "getattr" access on /tmp/tfxGeNP4.
SELinux is preventing /usr/sbin/clamd "getattr" access on /tmp/tfxGeNP4.
Status: CLOSED DUPLICATE of bug 612327
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-10 05:08 EDT by Mihai Harpau
Modified: 2010-07-12 05:07 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-07-12 05:07:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mihai Harpau 2010-07-10 05:08:57 EDT

SELinux is preventing /usr/sbin/clamd "getattr" access on /tmp/tfxGeNP4.

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

Additional Information:

Source Context                system_u:system_r:clamd_t:s0
Target Context                system_u:object_r:initrc_tmp_t:s0
Target Objects                /tmp/tfxGeNP4 [ file ]
Source                        clamd
Source Path                   /usr/sbin/clamd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           clamav-server-0.95.3-1301.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-33.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) #1 SMP Tue Jul
                              6 22:32:17 UTC 2010 x86_64 x86_64
Alert Count                   131
First Seen                    Vi 02 iul 2010 07:51:51 +0000
Last Seen                     Sb 10 iul 2010 12:08:17 +0000
Local ID                      3994b38e-5971-43e7-bffd-800dccceb3a1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278752897.291:30915): avc:  denied  { getattr } for  pid=2659 comm="clamd" path="/tmp/tfxGeNP4" dev=dm-0 ino=787219 scontext=system_u:system_r:clamd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1278752897.291:30915): arch=c000003e syscall=6 success=no exit=-13 a0=c48fd0 a1=7fe947ffebd0 a2=7fe947ffebd0 a3=ffffffffffffff92 items=0 ppid=1 pid=2659 auid=4294967295 uid=487 gid=474 euid=487 suid=487 fsuid=487 egid=474 sgid=474 fsgid=474 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,initrc_tmp_t,file,getattr
audit2allow suggests:

#============= clamd_t ==============
allow clamd_t initrc_tmp_t:file getattr;
Comment 1 Miroslav Grepl 2010-07-12 05:07:48 EDT

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

Note You need to log in before you can comment on or make changes to this bug.