Bug 600127

Summary: O SELinux está impedindo o acesso a /usr/sbin/abrtd "create" on package
Product: [Fedora] Fedora Reporter: gelo <emanwesk-2>
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: biscuit.ak41, bluecarbon, cwolfe8, datahal42, dford, dtdraganov, dwalsh, elementboarder14, irsian2, jackiehui, jesusr, kurtmc, mgrepl, michael, mockusmeister, mtczerwinski, nobody+296696, novotnej, reelkaas, ridwan.husaini, Shane_Hulburt, tech, tizia.marconi, vlim.bathory
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d72b5440be8e34582d7e91520380b254f072eb5a23c841a778c9c650c329aad7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-04 05:34:21 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 gelo 2010-06-04 01:50:57 UTC
Sumário:

O SELinux está impedindo o acesso a /usr/sbin/abrtd "create" on package

Descrição detalhada:

[SElinux está em modo permissivo. Esse acesso não foi negado.]

O SELinux impediu o acesso requisitado pelo abrtd. Não é comum que este acesso
seja requisitado pelo abrtd e isto pode indicar uma tentativa de intrusão.
Também é possível que a versão ou configuração específicas do aplicativo
estejam fazendo com que o mesmo requisite o acesso adicio

Permitindo acesso:

Você pode gerar um módulo de política local para permitir este acesso - veja
o FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Por favor,
registre um relatório de erro.

Informações adicionais:

Contexto de origem            system_u:system_r:abrt_t:s0
Contexto de destino           system_u:object_r:var_spool_t:s0
Objetos de destino            package [ file ]
Origem                        abrtd
Caminho da origem             /usr/sbin/abrtd
Porta                         <Desconhecido>
Máquina                      (removido)
Pacotes RPM de origem         abrt-1.1.4-1.fc14
Pacotes RPM de destino        
RPM da política              selinux-policy-3.8.1-4.fc14
Selinux habilitado            True
Tipo de política             targeted
Modo reforçado               Permissive
Nome do plugin                catchall
Nome da máquina              (removido)
Plataforma                    Linux (removido) 2.6.32.11-99.fc12.x86_64 #1 SMP Mon
                              Apr 5 19:59:38 UTC 2010 x86_64 x86_64
Contador de alertas           16
Visto pela primeira vez em    Qui 03 Jun 2010 11:45:00 BRT
Visto pela última vez em     Qui 03 Jun 2010 13:29:21 BRT
ID local                      ba9fe972-bc43-45ac-9e92-f1eb4dd48d76
Números de linha             

Mensagens de auditoria não p 

node=(removido) type=AVC msg=audit(1275582561.580:273): avc:  denied  { create } for  pid=1738 comm="abrtd" name="package" scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file

node=(removido) type=AVC msg=audit(1275582561.580:273): avc:  denied  { write } for  pid=1738 comm="abrtd" name="package" dev=sda2 ino=265981 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=file

node=(removido) type=SYSCALL msg=audit(1275582561.580:273): arch=c000003e syscall=2 success=yes exit=128 a0=166cb98 a1=241 a2=1a0 a3=2d30363532383535 items=0 ppid=1 pid=1738 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)



Hash String generated from  catchall,abrtd,abrt_t,var_spool_t,file,create
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t var_spool_t:file { write create };

Comment 1 Miroslav Grepl 2010-06-04 05:34:21 UTC

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

Comment 2 Michael 2010-11-17 06:50:56 UTC
1. i have this bug since fc13 
2. whit the update from fc14 to fc14 i take away the bug
3. NOW i have install WINE (from rpm/yum)
3.a. if i start WINE - ABRT comes up.....

thanks 4 great work, fc rocks...