Bug 1816787 - SELinux is preventing pcscd from using the 'sys_nice' capabilities.
Summary: SELinux is preventing pcscd from using the 'sys_nice' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1811407
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eefffffd3f386068ef138f16194...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 17:57 UTC by Preston
Modified: 2020-04-27 08:57 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-04-09 13:42:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Preston 2020-03-24 17:57:40 UTC
Description of problem:
SELinux is preventing pcscd from using the 'sys_nice' capabilities.

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

If you believe that pcscd should have the sys_nice capability 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:
# ausearch -c 'pcscd' --raw | audit2allow -M my-pcscd
# semodule -X 300 -i my-pcscd.pp

Additional Information:
Source Context                system_u:system_r:pcscd_t:s0
Target Context                system_u:system_r:pcscd_t:s0
Target Objects                Unknown [ capability ]
Source                        pcscd
Source Path                   pcscd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-3.14.6-9.fc33.noarch
Local Policy RPM              selinux-policy-targeted-3.14.6-9.fc33.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.6.0-0.rc6.git2.1.fc33.x86_64 #1
                              SMP Fri Mar 20 22:04:59 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-03-24 13:43:00 EDT
Last Seen                     2020-03-24 13:43:00 EDT
Local ID                      e57edf83-37d2-44fa-8a72-1f2dcbf9f216

Raw Audit Messages
type=AVC msg=audit(1585071780.646:252): avc:  denied  { sys_nice } for  pid=2348 comm="pcscd" capability=23  scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=capability permissive=0


Hash: pcscd,pcscd_t,pcscd_t,capability,sys_nice

Version-Release number of selected component:
selinux-policy-3.14.6-9.fc33.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.12.0
hashmarkername: setroubleshoot
kernel:         5.6.0-0.rc6.git2.1.fc33.x86_64
type:           libreport

Potential duplicate: bug 1806129

Comment 1 Preston 2020-03-27 18:20:21 UTC
Similar problem has been detected:

Seems to happen when I open a browser of any kind: i.e.; firefox or thunderbird, opera doesn't seem to happen when opening and closing Chrome, however, thats not to say that it won't happen with chrome.

hashmarkername: setroubleshoot
kernel:         5.6.0-0.rc7.git0.1.fc33.x86_64
package:        selinux-policy-3.14.6-10.fc33.noarch
reason:         SELinux is preventing pcscd from using the 'sys_nice' capabilities.
type:           libreport

Comment 2 tmpmail30236671 2020-03-30 23:58:03 UTC
i get the same selinux message about pcscd after logging in as a regular user on
f32 xfce spin x86_64 (amd64).

A similar selinux message also occurs re: firewalld.

Comment 3 Zdenek Pytela 2020-04-09 13:42:41 UTC

*** This bug has been marked as a duplicate of bug 1811407 ***


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