Bug 624225 - SELinux is preventing /usr/sbin/gdm-binary "create" access on gdm.
Summary: SELinux is preventing /usr/sbin/gdm-binary "create" access on gdm.
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
(Show other bugs)
Version: 13
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:08fa3ea8b9f...
: 624226 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-08-14 20:45 UTC by sp
Modified: 2010-08-15 12:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-15 12:44:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description sp 2010-08-14 20:45:07 UTC

SELinux is preventing /usr/sbin/gdm-binary "create" access on gdm.

Detailed Description:

SELinux denied access requested by gdm-binary. It is not expected that this
access is required by gdm-binary 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_log_t:s0
Target Objects                gdm [ dir ]
Source                        gdm-binary
Source Path                   /usr/sbin/gdm-binary
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-2.30.2-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-41.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux thinkpad #1 SMP
                              Fri Jul 23 17:14:44 UTC 2010 x86_64 x86_64
Alert Count                   15
First Seen                    Thu 05 Aug 2010 09:01:00 AM CEST
Last Seen                     Sat 14 Aug 2010 08:54:46 AM CEST
Local ID                      bf5f123e-62c8-4c7e-8466-7891c546f859
Line Numbers                  

Raw Audit Messages            

node=thinkpad type=AVC msg=audit(1281768886.277:14): avc:  denied  { create } for  pid=1580 comm="gdm-binary" name="gdm" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_log_t:s0 tclass=dir

node=thinkpad type=SYSCALL msg=audit(1281768886.277:14): arch=c000003e syscall=83 success=no exit=-13 a0=419d54 a1=1ed a2=ffffffffffffffa8 a3=7fff39c3bfe0 items=0 ppid=1 pid=1580 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gdm-binary" exe="/usr/sbin/gdm-binary" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  catchall,gdm-binary,xdm_t,var_log_t,dir,create
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t var_log_t:dir create;

Comment 1 Daniel Walsh 2010-08-15 12:44:46 UTC
Some how you /var/log/gdm directory got mislabeled.

restorecon -R -v /var/log

Should fix. 

Reopen if this happens again.

Comment 2 Daniel Walsh 2010-08-15 12:45:47 UTC
*** Bug 624226 has been marked as a duplicate of this bug. ***

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