Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1055899 - SELinux is preventing /usr/bin/kdm from 'entrypoint' accesses on the file .
Summary: SELinux is preventing /usr/bin/kdm from 'entrypoint' accesses on the file .
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9f80b9367056f85569f0133a7cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-21 07:54 UTC by Christopher Meng
Modified: 2014-01-22 09:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-22 09:47:30 UTC


Attachments (Terms of Use)

Description Christopher Meng 2014-01-21 07:54:45 UTC
Description of problem:
SELinux is preventing /usr/bin/kdm from 'entrypoint' accesses on the file .

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that kdm should be allowed entrypoint access on the  file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep kdm /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                system_u:object_r:xsession_exec_t:s0
Target Objects                 [ file ]
Source                        kdm
Source Path                   /usr/bin/kdm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdm-4.11.5-1.fc21.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-14.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.0-0.rc8.git4.2.fc21.i686 #1
                              SMP Sat Jan 18 16:29:05 UTC 2014 i686 i686
Alert Count                   2
First Seen                    2014-01-21 08:11:56 CST
Last Seen                     2014-01-21 15:33:12 CST
Local ID                      63ab645a-aee8-48d9-a46c-09068a661ac2

Raw Audit Messages
type=AVC msg=audit(1390289592.140:372): avc:  denied  { entrypoint } for  pid=1355 comm="kdm" path="/etc/kde/kdm/Xsession" dev="sda6" ino=264379 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xsession_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1390289592.140:372): arch=i386 syscall=execve success=no exit=EACCES a0=b81f9008 a1=b81eb9f8 a2=b81f1120 a3=b81eb9f8 items=0 ppid=1232 pid=1355 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=kdm exe=/usr/bin/kdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: kdm,unconfined_t,xsession_exec_t,file,entrypoint

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.13.0-0.rc8.git4.2.fc21.i686
type:           libreport

Comment 1 Daniel Walsh 2014-01-21 16:28:57 UTC
We need to add
xserver_xsession_entry_type(unconfined_t)


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