Bug 600720 - SELinux is preventing /usr/libexec/lxdm-greeter-gtk "read" access on lxdm.auth.
Summary: SELinux is preventing /usr/libexec/lxdm-greeter-gtk "read" access on lxd...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:8b146740531...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-05 18:33 UTC by mailinglistyard
Modified: 2011-06-11 23:27 UTC (History)
8 users (show)

Clone Of:
Last Closed: 2010-06-07 11:59:57 UTC

Attachments (Terms of Use)

Description mailinglistyard 2010-06-05 18:33:58 UTC

SELinux is preventing /usr/libexec/lxdm-greeter-gtk "read" access on lxdm.auth.

Detailed Description:

SELinux denied access requested by lxdm-greeter-gt. It is not expected that this
access is required by lxdm-greeter-gt 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:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_run_t:s0
Target Objects                lxdm.auth [ file ]
Source                        lxdm-greeter-gt
Source Path                   /usr/libexec/lxdm-greeter-gtk
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           lxdm-0.2.0-4.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-21.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux localhost.localdomain
                              #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sat 05 Jun 2010 08:23:52 PM CEST
Last Seen                     Sat 05 Jun 2010 08:23:52 PM CEST
Local ID                      90271d3e-79a5-4d2f-9327-49475a7985a3
Line Numbers                  

Raw Audit Messages            

node=localhost.localdomain type=AVC msg=audit(1275762232.373:25): avc:  denied  { read } for  pid=10787 comm="lxdm-greeter-gt" name="lxdm.auth" dev=dm-0 ino=24650 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file

node=localhost.localdomain type=SYSCALL msg=audit(1275762232.373:25): arch=40000003 syscall=33 success=no exit=-13 a0=bff5cfc6 a1=4 a2=218bb8 a3=bff5cfc6 items=0 ppid=1402 pid=10787 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="lxdm-greeter-gt" exe="/usr/libexec/lxdm-greeter-gtk" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,lxdm-greeter-gt,xdm_t,var_run_t,file,read
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t var_run_t:file read;

Comment 1 Miroslav Grepl 2010-06-07 11:59:57 UTC

restorecon -R -v /var/run

Should fix.

Reopen if this happens again.

Comment 2 nomnex 2010-12-18 15:39:50 UTC
Miroslav, # restorecon -R -v /var/run does not work for me on F-13 LXDE, the same SELinux msg. re-appears.

Comment 3 nomnex 2010-12-18 15:40:20 UTC
Miroslav, # restorecon -R -v /var/run does not work for me on F-13 LXDE, the same SELinux msg. re-appears.

Comment 4 nomnex 2010-12-18 15:41:47 UTC
ee (?) I didn't double post...

Comment 5 Daniel Walsh 2010-12-20 14:27:30 UTC
yum -y reinstall selinux-policy-targeted

And see if anything goes wrong.

Comment 6 nomnex 2010-12-24 00:17:44 UTC
Thanks Daniel, SELinux message is gone.

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