Bug 524869

Summary: setroubleshoot: SELinux is preventing /usr/sbin/abrtd "setattr" access on KerneloopsReporter.conf.
Product: [Fedora] Fedora Reporter: Moisés Ramos <lordstenka>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:7f9e45229acc7fd2d7bcd9309856c405aef00c8874d8f7a93e8db75e13ab30a5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-22 15:11:03 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 Moisés Ramos 2009-09-22 14:28:51 UTC
The following was filed automatically by setroubleshoot:

Resúmen:

SELinux is preventing /usr/sbin/abrtd "setattr" access on
KerneloopsReporter.conf.

Descripción Detallada:

[abrtd has a permissive type (abrt_t). This access was not denied.]

SELinux denied access requested by abrtd. It is not expected that this access is
required by abrtd 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:abrt_t:s0
Contexto Destino              system_u:object_r:user_home_dir_t:s0
Objetos Destino               KerneloopsReporter.conf [ file ]
Fuente                        abrtd
Dirección de Fuente          /usr/sbin/abrtd
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          abrt-0.0.8.5-1.fc12
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-7.fc12
SELinux Activado              True
Tipo de Política             targeted
MLS Activado                  True
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31-33.fc12.x86_64 #1 SMP
                              Thu Sep 17 15:40:43 EDT 2009 x86_64 x86_64
Cantidad de Alertas           1
Visto por Primera Vez         mar 22 sep 2009 16:23:46 CEST
Visto por Última Vez         mar 22 sep 2009 16:23:46 CEST
ID Local                      8db41de2-516f-42e1-8ffb-4b7a3ddefbf1
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1253629426.942:495): avc:  denied  { setattr } for  pid=1342 comm="abrtd" name="KerneloopsReporter.conf" dev=sda2 ino=80 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:user_home_dir_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1253629426.942:495): arch=c000003e syscall=92 success=yes exit=0 a0=b5e658 a1=1f4 a2=1f4 a3=1 items=0 ppid=1 pid=1342 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="abrtd" exe="/usr/sbin/abrtd" subj=system_u:system_r:abrt_t:s0 key=(null)


audit2allow suggests:

#============= abrt_t ==============
allow abrt_t user_home_dir_t:file setattr;

Comment 1 Daniel Walsh 2009-09-22 15:11:03 UTC

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