Bug 632445 - SELinux is preventing /usr/libexec/fprintd "sys_nice" access .
Summary: SELinux is preventing /usr/libexec/fprintd "sys_nice" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6b028beea46...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-09 23:20 UTC by jcninca
Modified: 2010-09-22 00:38 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-57.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-22 00:38:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jcninca 2010-09-09 23:20:25 UTC
Summary:

SELinux is preventing /usr/libexec/fprintd "sys_nice" access .

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by fprintd. It is not expected that this access
is required by fprintd 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
report.

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                None [ capability ]
Source                        fprintd
Source Path                   /usr/libexec/fprintd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           fprintd-0.2.0-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-54.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.34.6-54.fc13.x86_64 #1 SMP Sun Sep 5 17:16:27
                              UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Thu 09 Sep 2010 03:55:52 PM PDT
Last Seen                     Thu 09 Sep 2010 03:55:52 PM PDT
Local ID                      36143160-aa25-4056-b668-fc564e3396c1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284072952.271:26603): avc:  denied  { sys_nice } for  pid=2685 comm="fprintd" capability=23  scontext=system_u:system_r:fprintd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:fprintd_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=AVC msg=audit(1284072952.271:26603): avc:  denied  { setsched } for  pid=2685 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=process

node=(removed) type=SYSCALL msg=audit(1284072952.271:26603): arch=c000003e syscall=144 success=yes exit=4294967424 a0=a7d a1=0 a2=7fffbdfa01b0 a3=7fffbdf9ff00 items=0 ppid=1 pid=2685 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="fprintd" exe="/usr/libexec/fprintd" subj=system_u:system_r:fprintd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,fprintd,fprintd_t,fprintd_t,capability,sys_nice
audit2allow suggests:

#============= fprintd_t ==============
allow fprintd_t self:capability sys_nice;
allow fprintd_t self:process setsched;

Comment 1 Miroslav Grepl 2010-09-13 11:10:58 UTC
Fixed in selinux-policy-3.7.19-56.fc13

Comment 2 Fedora Update System 2010-09-13 16:08:54 UTC
selinux-policy-3.7.19-57.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-57.fc13

Comment 3 Fedora Update System 2010-09-15 05:30:06 UTC
selinux-policy-3.7.19-57.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-57.fc13

Comment 4 Fedora Update System 2010-09-22 00:37:32 UTC
selinux-policy-3.7.19-57.fc13 has been pushed to the Fedora 13 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.