Bug 704752 - SELinux is preventing /usr/sbin/abrtd "rmdir" access on ccpp-1305374431-2006.
Summary: SELinux is preventing /usr/sbin/abrtd "rmdir" access on ccpp-1305374431-2006.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:52c966fbe92...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-14 16:19 UTC by EL FATHI ANAS
Modified: 2011-05-16 06:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-16 06:29:03 UTC
Type: ---


Attachments (Terms of Use)

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


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