Bug 1045823 - SELinux is preventing /usr/libexec/fprintd from 'create' accesses on the netlink_kobject_uevent_socket .
Summary: SELinux is preventing /usr/libexec/fprintd from 'create' accesses on the netl...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b5cba5e205891f9ee6fb8f46a21...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-22 10:12 UTC by ardillon.42
Modified: 2014-01-02 23:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 23:18:49 UTC
Type: ---


Attachments (Terms of Use)

Description ardillon.42 2013-12-22 10:12:42 UTC
Description of problem:
SELinux is preventing /usr/libexec/fprintd from 'create' accesses on the netlink_kobject_uevent_socket .

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

If you believe that fprintd should be allowed create access on the  netlink_kobject_uevent_socket 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 fprintd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:fprintd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:fprintd_t:s0-s0:c0.c1023
Target Objects                 [ netlink_kobject_uevent_socket ]
Source                        fprintd
Source Path                   /usr/libexec/fprintd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           fprintd-0.4.1-4.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-106.fc18.noarch selinux-
                              policy-3.12.1-74.15.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.10-100.fc18.x86_64 #1 SMP Mon
                              Dec 2 20:28:38 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-12-22 11:10:16 CET
Last Seen                     2013-12-22 11:10:16 CET
Local ID                      3535c0fd-df02-4170-8ad6-42dcd234c17e

Raw Audit Messages
type=AVC msg=audit(1387707016.490:663): avc:  denied  { create } for  pid=22235 comm="fprintd" scontext=system_u:system_r:fprintd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:fprintd_t:s0-s0:c0.c1023 tclass=netlink_kobject_uevent_socket


type=SYSCALL msg=audit(1387707016.490:663): arch=x86_64 syscall=socket success=no exit=EACCES a0=10 a1=80803 a2=f a3=13772a0 items=0 ppid=1 pid=22235 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=fprintd exe=/usr/libexec/fprintd subj=system_u:system_r:fprintd_t:s0-s0:c0.c1023 key=(null)

Hash: fprintd,fprintd_t,fprintd_t,netlink_kobject_uevent_socket,create

audit2allow

#============= fprintd_t ==============
allow fprintd_t self:netlink_kobject_uevent_socket create;

audit2allow -R
require {
	type fprintd_t;
	class netlink_kobject_uevent_socket create;
}

#============= fprintd_t ==============
allow fprintd_t self:netlink_kobject_uevent_socket create;


Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.11.10-100.fc18.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-01-02 23:18:49 UTC
Fixed in the current release.  F18 is just about to end, you need to update.


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