Bug 550536 - SELinux is preventing /usr/sbin/clamd "getattr" access on /tmp/phpCseWxd.
Summary: SELinux is preventing /usr/sbin/clamd "getattr" access on /tmp/phpCseWxd.
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f05a772054b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-25 22:01 UTC by Juan Hauva
Modified: 2023-09-14 01:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-03 12:50:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Hauva 2009-12-25 22:01:08 UTC
Resúmen:

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

Descripción Detallada:

[SELinux esta en modo permisivo. Este acceso no fue denegado.]

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.

Permitiendo Acceso:

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

Información Adicional:

Contexto Fuente               system_u:system_r:clamd_t:s0
Contexto Destino              system_u:object_r:httpd_tmp_t:s0
Objetos Destino               /tmp/phpCseWxd [ file ]
Fuente                        clamd
Dirección de Fuente          /usr/sbin/clamd
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          clamav-0.95.3-46.fc12
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-59.fc12
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Permissive
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed
                              Dec 9 11:00:30 EST 2009 i686 athlon
Cantidad de Alertas           1
Visto por Primera Vez         vie 25 dic 2009 17:13:21 CLST
Visto por Última Vez         vie 25 dic 2009 17:13:21 CLST
ID Local                      13c09db0-268d-415e-9d99-54c5ee6e9ede
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1261772001.17:1173): avc:  denied  { getattr } for  pid=31097 comm="clamd" path="/tmp/phpCseWxd" dev=dm-0 ino=20867 scontext=system_u:system_r:clamd_t:s0 tcontext=system_u:object_r:httpd_tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1261772001.17:1173): arch=40000003 syscall=196 success=yes exit=0 a0=8c35a88 a1=adbcd03c a2=9aaff4 a3=3 items=0 ppid=1 pid=31097 auid=4294967295 uid=493 gid=488 euid=493 suid=493 fsuid=493 egid=488 sgid=488 fsgid=488 tty=(none) ses=4294967295 comm="clamd" exe="/usr/sbin/clamd" subj=system_u:system_r:clamd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,clamd,clamd_t,httpd_tmp_t,file,getattr
audit2allow suggests:

#============= clamd_t ==============
allow clamd_t httpd_tmp_t:file getattr;

Comment 1 Daniel Walsh 2009-12-29 14:02:27 UTC
Why is clamd trying to read a file created by the apache server?

Comment 2 Bug Zapper 2010-11-04 02:33:56 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Red Hat Bugzilla 2023-09-14 01:19:12 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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