Bug 1045823

Summary: SELinux is preventing /usr/libexec/fprintd from 'create' accesses on the netlink_kobject_uevent_socket .
Product: [Fedora] Fedora Reporter: ardillon.42
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b5cba5e205891f9ee6fb8f46a2148cb991da252ca25079677553c7875b7133e8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 23:18:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.