Bug 1806129 - 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 1795524
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eefffffd3f386068ef138f16194...
: 1825182 1830761 1831864 1832126 1842246 1844182 1878330 1893418 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-22 10:36 UTC by mrecht
Modified: 2020-10-31 08:03 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-22 15:57:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description mrecht 2020-02-22 10:36:08 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           
Policy RPM                    selinux-policy-3.14.5-27.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.6.0-0.rc2.git0.1.fc32.x86_64 #1
                              SMP Mon Feb 17 21:09:39 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-02-22 11:24:19 CET
Last Seen                     2020-02-22 11:24:19 CET
Local ID                      3850ad1d-2524-4a78-845c-626fda2a854f

Raw Audit Messages
type=AVC msg=audit(1582367059.928:243): avc:  denied  { sys_nice } for  pid=1950 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.5-27.fc32.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.12.0
hashmarkername: setroubleshoot
kernel:         5.6.0-0.rc2.git0.1.fc32.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2020-02-22 15:57:35 UTC

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

Comment 2 err666 2020-04-17 10:27:21 UTC
*** Bug 1825182 has been marked as a duplicate of this bug. ***

Comment 3 whittelion 2020-05-03 17:34:10 UTC
*** Bug 1830761 has been marked as a duplicate of this bug. ***

Comment 4 Mahmoud 2020-05-05 19:00:35 UTC
*** Bug 1831864 has been marked as a duplicate of this bug. ***

Comment 5 mohantsa 2020-05-06 07:04:26 UTC
*** Bug 1832126 has been marked as a duplicate of this bug. ***

Comment 6 Noor 2020-05-31 11:02:01 UTC
*** Bug 1842246 has been marked as a duplicate of this bug. ***

Comment 7 Artemio 2020-06-04 18:22:55 UTC
*** Bug 1844182 has been marked as a duplicate of this bug. ***

Comment 8 Pradeep Kumar 2020-09-12 02:37:05 UTC
*** Bug 1878330 has been marked as a duplicate of this bug. ***

Comment 9 Wiisanen 2020-10-31 08:03:44 UTC
*** Bug 1893418 has been marked as a duplicate of this bug. ***


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