Bug 616109

Summary: SELinux verhindert abrtd "getattr" Zugriff on /var/run/winbindd/pipe.
Product: [Fedora] Fedora Reporter: Ralf Oltmanns <ros>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: christoph.maser, dwalsh, hadfieldster, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:5a40b1b33db90f041d224d37729f0950f0c67564bdb1f1e8ffdb4cbef782c9f6
Fixed In Version: selinux-policy-3.6.32-120.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-20 01:44:33 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 Ralf Oltmanns 2010-07-19 17:17:52 UTC
Zusammenfassung:

SELinux verhindert abrtd "getattr" Zugriff on /var/run/winbindd/pipe.

Detaillierte Beschreibung:

SELinux verweigerte den von abrtd angeforderten Zugriff. Da nicht davon
ausgegangen wird, dass dieser Zugriff von abrtd benötigt wird, signalisiert
dies möglicherweise einen Einbruchsversuch. Es ist ausserdem möglich, dass
diese spezielle Version oder Konfiguration der Anwendung den zusätzlichen
Zugriff verursacht.

Zugriff erlauben:

Sie können ein lokales Richtlininenmodul generieren, um diesen Zugriff zu
erlauben siehe FAQ (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385)
Bitte reichen Sie einen Fehlerbericht ein.

Zusätzliche Informationen:

Quellkontext                  system_u:system_r:abrt_t:s0-s0:c0.c1023
Zielkontext                   system_u:object_r:winbind_var_run_t:s0
Zielobjekte                   /var/run/winbindd/pipe [ sock_file ]
Quelle                        abrtd
Quellpfad                     abrtd
Port                          <Unbekannt>
Host                          (entfernt)
RPM-Pakete der Quelle         
RPM-Pakete des Ziels          
Richtlinien-RPM               selinux-policy-3.6.32-118.fc12
SELinux aktiviert             True
Richtlinientyp                targeted
Enforcing-Modus               Enforcing
Plugin-Name                   catchall
Rechnername                   (entfernt)
Plattform                     Linux (entfernt)
                              2.6.32.16-141.fc12.x86_64 #1 SMP Wed Jul 7
                              04:49:59 UTC 2010 x86_64 x86_64
Anzahl der Alarme             1
Zuerst gesehen                Mo 19 Jul 2010 19:09:24 CEST
Zuletzt gesehen               Mo 19 Jul 2010 19:09:24 CEST
Lokale ID                     7117cc91-c464-4602-ab34-42caec0e92ec
Zeilennummern                 

Raw-Audit-Meldungen           

node=(entfernt) type=AVC msg=audit(1279559364.929:27008): avc:  denied  { getattr } for  pid=28655 comm="abrtd" path="/var/run/winbindd/pipe" dev=dm-0 ino=3539577 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:winbind_var_run_t:s0 tclass=sock_file



Hash String generated from  catchall,abrtd,abrt_t,winbind_var_run_t,sock_file,getattr
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t winbind_var_run_t:sock_file getattr;

Comment 1 Daniel Walsh 2010-07-20 17:55:46 UTC
Miroslav can you add

files_dontaudit_getattr_all_sockets(abrt_t)

Comment 2 Miroslav Grepl 2010-08-05 11:41:31 UTC
Fixed in selinux-policy-3.6.32-120.fc12

Comment 3 Fedora Update System 2010-08-05 13:18:51 UTC
selinux-policy-3.6.32-120.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12

Comment 4 Fedora Update System 2010-08-05 23:22:57 UTC
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12

Comment 5 Fedora Update System 2010-08-20 01:39:11 UTC
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.