Bug 1080978 - SELinux is preventing /usr/bin/kdm from using the 'signull' accesses on a process.
Summary: SELinux is preventing /usr/bin/kdm from using the 'signull' accesses on a pro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5d8c6999ffccc3eca66b3fc7c74...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-26 12:28 UTC by Aditya
Modified: 2014-04-20 01:25 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-153.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-20 01:25:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Aditya 2014-03-26 12:28:49 UTC
Description of problem:
SELinux is preventing /usr/bin/kdm from using the 'signull' accesses on a process.

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

If you believe that kdm should be allowed signull access on processes labeled remote_login_t 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                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:system_r:remote_login_t:s0
Target Objects                 [ process ]
Source                        kdm
Source Path                   /usr/bin/kdm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdm-4.11.7-1.fc20.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-135.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.13.6-200.fc20.i686 #1 SMP Fri
                              Mar 7 17:28:21 UTC 2014 i686 i686
Alert Count                   2
First Seen                    2014-03-26 16:22:08 IST
Last Seen                     2014-03-26 16:45:54 IST
Local ID                      1abd89b5-21b1-4707-be6a-e32993d63a76

Raw Audit Messages
type=AVC msg=audit(1395832554.572:482): avc:  denied  { signull } for  pid=680 comm="kdm" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:system_r:remote_login_t:s0 tclass=process


type=SYSCALL msg=audit(1395832554.572:482): arch=i386 syscall=kill success=no exit=EACCES a0=5d65 a1=0 a2=b77c5bd8 a3=b80f7378 items=0 ppid=1 pid=680 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=kdm exe=/usr/bin/kdm subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: kdm,xdm_t,remote_login_t,process,signull

Additional info:
reporter:       libreport-2.2.0
hashmarkername: setroubleshoot
kernel:         3.13.6-200.fc20.i686
type:           libreport

Comment 1 Miroslav Grepl 2014-03-28 08:57:01 UTC
commit 91a070cf3dbda7fa8423f918b76ec0f8420db8b8
Author: Miroslav Grepl <mgrepl>
Date:   Fri Mar 28 09:56:09 2014 +0100

    Allow kdm to send signull to remote_login_t process

Comment 2 Fedora Update System 2014-04-08 04:48:56 UTC
selinux-policy-3.12.1-152.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-152.fc20

Comment 3 Fedora Update System 2014-04-09 13:16:43 UTC
Package selinux-policy-3.12.1-152.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-152.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-152.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-04-14 22:42:23 UTC
Package selinux-policy-3.12.1-153.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-153.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-153.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-04-20 01:25:09 UTC
selinux-policy-3.12.1-153.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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