Bug 562203 - SELinux is preventing polkit-read-aut (polkit_auth_t) "write" to /var/log/gdm/:0-greeter.log (xserver_log_t).
Summary: SELinux is preventing polkit-read-aut (polkit_auth_t) "write" to /var/log/gdm...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a71463f7c59...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-05 15:55 UTC by Oliver Ruebenacker
Modified: 2010-02-05 19:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-05 16:09:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oliver Ruebenacker 2010-02-05 15:55:05 UTC
Summary:

SELinux is preventing polkit-read-aut (polkit_auth_t) "write" to
/var/log/gdm/:0-greeter.log (xserver_log_t).

Detailed Description:

[polkit-read-aut has a permissive type (polkit_auth_t). This access was not
denied.]

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

Allowing Access:

Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for /var/log/gdm/:0-greeter.log,

restorecon -v '/var/log/gdm/:0-greeter.log'

If this does not work, there is currently no automatic way to allow this access.
Instead, 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.

Additional Information:

Source Context                system_u:system_r:polkit_auth_t:SystemLow-
                              SystemHigh
Target Context                system_u:object_r:xserver_log_t:SystemLow
Target Objects                /var/log/gdm/:0-greeter.log [ file ]
Source                        polkit-read-aut
Source Path                   /usr/libexec/polkit-read-auth-helper
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           PolicyKit-0.9-4.fc10
Target RPM Packages           
Policy RPM                    selinux-policy-3.5.13-41.fc10
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     (removed)
Platform                      Linux (removed) 2.6.27.12-170.2.5.fc10.i686 #1 SMP
                              Wed Jan 21 02:09:37 EST 2009 i686 i686
Alert Count                   101
First Seen                    Wed 04 Feb 2009 05:54:55 AM EST
Last Seen                     Mon 16 Feb 2009 05:45:58 AM EST
Local ID                      47fa27bd-d8a7-4944-b019-46014462e57f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1234781158.79:9): avc:  denied  { write } for  pid=2946 comm="polkit-read-aut" path="/var/log/gdm/:0-greeter.log" dev=dm-0 ino=7111894 scontext=system_u:system_r:polkit_auth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_log_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1234781158.79:9): arch=40000003 syscall=11 success=yes exit=0 a0=3406fb4 a1=bf9aa9f0 a2=bf9ab40c a3=bf9aa9f0 items=0 ppid=2743 pid=2946 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=87 sgid=87 fsgid=87 tty=(none) ses=4294967295 comm="polkit-read-aut" exe="/usr/libexec/polkit-read-auth-helper" subj=system_u:system_r:polkit_auth_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.5.13-41.fc10,catchall_file,polkit-read-aut,polkit_auth_t,xserver_log_t,file,write
audit2allow suggests:

#============= polkit_auth_t ==============
allow polkit_auth_t xserver_log_t:file write;

Comment 1 Daniel Walsh 2010-02-05 16:09:00 UTC
F10 policy?

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

Comment 2 Oliver Ruebenacker 2010-02-05 17:17:33 UTC
(In reply to comment #1)
> F10 policy?
> 
> *** This bug has been marked as a duplicate of bug 538428 ***    

yum says my system is up to date. i didn't choose to have a f10 policy.

Comment 3 Daniel Walsh 2010-02-05 19:28:41 UTC
Statute of limitations on reporting avc's is 2 months.  :^)

First Seen                    Wed 04 Feb 2009 05:54:55 AM EST
Last Seen                     Mon 16 Feb 2009 05:45:58 AM EST


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