Bug 704752

Summary: SELinux is preventing /usr/sbin/abrtd "rmdir" access on ccpp-1305374431-2006.
Product: [Fedora] Fedora Reporter: EL FATHI ANAS <anaselfathi>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:52c966fbe92e3eeefa0df708f5bc1a36445ca6e418975cfeee0298ea880f8f7a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-16 06:29: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:

Description EL FATHI ANAS 2011-05-14 16:19:39 UTC
Résumé:

SELinux is preventing /usr/sbin/abrtd "rmdir" access on ccpp-1305374431-2006.

Description détaillée:

[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.

Autoriser l'accès:

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.

Informations complémentaires:

Contexte source               system_u:system_r:abrt_t:s0
Contexte cible                system_u:object_r:var_spool_t:s0
Objets du contexte            ccpp-1305374431-2006 [ dir ]
source                        abrtd
Chemin de la source           /usr/sbin/abrtd
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         abrt-1.1.13-1.fc12
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.32-41.fc12
Selinux activé               True
Type de politique             targeted
MLS activé                   True
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat
                              Nov 7 21:25:57 EST 2009 i686 i686
Compteur d'alertes            1
Première alerte              sam. 14 mai 2011 12:00:32 GMT
Dernière alerte              sam. 14 mai 2011 12:00:32 GMT
ID local                      b1059b82-6306-4e7d-93b3-e8ec16668970
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1305374432.396:24461): avc:  denied  { rmdir } for  pid=1291 comm="abrtd" name="ccpp-1305374431-2006" dev=sda4 ino=196424 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1305374432.396:24461): arch=40000003 syscall=40 success=yes exit=0 a0=97fb9cc a1=9814048 a2=8dc458 a3=980c030 items=0 ppid=1 pid=1291 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  selinux-policy-3.6.32-41.fc12,catchall,abrtd,abrt_t,var_spool_t,dir,rmdir
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t var_spool_t:dir rmdir;

Comment 1 Miroslav Grepl 2011-05-16 06:29:03 UTC
F12 is no longer supported. Please update to newer Fedora release. Thank you.

Comment 2 Miroslav Grepl 2011-05-16 06:29:30 UTC
You probably need to run

# restorecon -R -v /var/spool