Bug 540938

Summary: SELinux is preventing quotaon (quota_t) "quotaon" mnt_t.
Product: [Fedora] Fedora Reporter: Gaetan Cambier <gaetan>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:8c002395bd4c747c778169644becffec171a59da3d2b0c3bb45eb4d9212a830f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-24 15:02:16 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 Gaetan Cambier 2009-11-24 14:41:57 UTC
Résumé:

SELinux is preventing quotaon (quota_t) "quotaon" mnt_t.

Description détaillée:

SELinux denied access requested by quotaon. It is not expected that this access
is required by quotaon 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) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Informations complémentaires:

Contexte source               system_u:system_r:quota_t:s0
Contexte cible                system_u:object_r:mnt_t:s0
Objets du contexte            aquota.user [ file ]
source                        quotaon
Chemin de la source           /sbin/quotaon
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         quota-3.17-4.fc11
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.12-82.fc11
Selinux activé               True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed)
                              2.6.29.6-217.2.16.fc11.i686.PAE #1 SMP Mon Aug 24
                              17:16:21 EDT 2009 i686 athlon
Compteur d'alertes            1
Première alerte              dim 27 sep 2009 22:03:35 CEST
Dernière alerte              dim 27 sep 2009 22:03:35 CEST
ID local                      e9035cbf-42b4-47e3-beb2-582280bffbd4
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1254081815.881:65): avc:  denied  { quotaon } for  pid=3476 comm="quotaon" name="aquota.user" dev=dm-6 ino=24577 scontext=system_u:system_r:quota_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1254081815.881:65): arch=40000003 syscall=131 success=no exit=-13 a0=80000200 a1=1675050 a2=2 a3=1675030 items=0 ppid=3341 pid=3476 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="quotaon" exe="/sbin/quotaon" subj=system_u:system_r:quota_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.12-82.fc11,catchall,quotaon,quota_t,mnt_t,file,quotaon
audit2allow suggests:

#============= quota_t ==============
allow quota_t mnt_t:file quotaon;

Comment 1 Daniel Walsh 2009-11-24 15:02:16 UTC

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