Bug 546143

Summary: SELinux is preventing /usr/libexec/polkit-gnome-authentication-agent-1 "search" access on /home.
Product: [Fedora] Fedora Reporter: Rolle <rolle.hoffmann>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl, rolle.hoffmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:fa8482049708b7a302553b0d8a40407f18d1ac1be8cde7726626c4e68387389c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-22 20:42:17 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 Rolle 2009-12-10 06:27:49 UTC
Zusammenfassung:

SELinux is preventing /usr/libexec/polkit-gnome-authentication-agent-1 "search"
access on /home.

Detaillierte Beschreibung:

[polkit-gnome-au hat einen toleranten Typ (policykit_auth_t). Dieser Zugriff
wurde nicht verweigert.]

SELinux denied access requested by polkit-gnome-au. It is not expected that this
access is required by polkit-gnome-au 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.

Zugriff erlauben:

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.

Zusätzliche Informationen:

Quellkontext                  unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c
                              0.c1023
Zielkontext                   system_u:object_r:home_root_t:s0
Zielobjekte                   /home [ dir ]
Quelle                        polkit-gnome-au
Quellen-Pfad                  /usr/libexec/polkit-gnome-authentication-agent-1
Port                          <Unbekannt>
Host                          (removed)
Quellen-RPM-Pakete            polkit-gnome-0.95-0.git20090913.6.fc12
Ziel-RPM-Pakete               filesystem-2.4.30-2.fc12
RPM-Richtlinie                selinux-policy-3.6.32-55.fc12
SELinux aktiviert             True
Richtlinienversion            targeted
Enforcing-Modus               Enforcing
Plugin-Name                   catchall
Hostname                      (removed)
Plattform                     Linux (removed) 2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec
                              4 00:06:26 EST 2009 x86_64 x86_64
Anzahl der Alarme             30
Zuerst gesehen                Do 10 Dez 2009 07:26:26 CET
Zuletzt gesehen               Do 10 Dez 2009 07:26:26 CET
Lokale ID                     1bb3ef64-1f69-4e56-9e58-dee6e87fc58e
Zeilennummern                 

Raw-Audit-Meldungen           

node=(removed) type=AVC msg=audit(1260426386.297:26154): avc:  denied  { search } for  pid=1728 comm="polkit-gnome-au" name="/" dev=sda7 ino=2 scontext=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:home_root_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1260426386.297:26154): arch=c000003e syscall=21 success=yes exit=128 a0=12d9fe0 a1=0 a2=12d9ed0 a3=1 items=0 ppid=1571 pid=1728 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="polkit-gnome-au" exe="/usr/libexec/polkit-gnome-authentication-agent-1" subj=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-55.fc12,catchall,polkit-gnome-au,policykit_auth_t,home_root_t,dir,search
audit2allow suggests:

#============= policykit_auth_t ==============
allow policykit_auth_t home_root_t:dir search;

Comment 1 Daniel Walsh 2009-12-10 15:35:30 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.32-58.fc12.noarch

Comment 2 Fedora Update System 2009-12-16 13:53:44 UTC
selinux-policy-3.6.32-59.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-59.fc12

Comment 3 Fedora Update System 2009-12-18 04:41:58 UTC
selinux-policy-3.6.32-59.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/F12/FEDORA-2009-13384