Bug 1860958

Summary: SELinux is preventing tumblerd from using the 'sys_nice' capabilities.
Product: [Fedora] Fedora Reporter: asd-jc <jorge_david>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: burak.bs.395, dwalsh, gaurishkorpal01, grepl.miroslav, lvrabec, mmalik, plautrba, rcosta62br, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:88f8d5a70ff6383283766b22157628e6b4bce9d309a7e441e5470208d37bef66;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-27 14:57:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description asd-jc 2020-07-27 14:45:03 UTC
Description of problem:
SELinux is preventing tumblerd from using the 'sys_nice' capabilities.

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

Si cree que tumblerd debería tener la capacidad de sys_nice de forma predeterminada.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'tumblerd' --raw | audit2allow -M mi-tumblerd
# semodule -X 300 -i mi-tumblerd.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Objects                Desconocido [ capability ]
Source                        tumblerd
Source Path                   tumblerd
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.5-42.fc32.noarch
Local Policy RPM              selinux-policy-targeted-3.14.5-42.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.7.9-200.fc32.x86_64 #1 SMP Fri
                              Jul 17 16:23:37 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-07-27 09:41:16 -05
Last Seen                     2020-07-27 09:41:16 -05
Local ID                      051ec1d1-96f7-4b19-b94b-9800ebb633c3

Raw Audit Messages
type=AVC msg=audit(1595860876.669:231): avc:  denied  { sys_nice } for  pid=1935 comm="tumblerd" capability=23  scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=capability permissive=0


Hash: tumblerd,thumb_t,thumb_t,capability,sys_nice

Version-Release number of selected component:
selinux-policy-targeted-3.14.5-42.fc32.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.13.1
hashmarkername: setroubleshoot
kernel:         5.7.9-200.fc32.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2020-07-27 14:57:14 UTC

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

Comment 2 Gaurish Korpal 2020-08-09 20:37:05 UTC
*** Bug 1867414 has been marked as a duplicate of this bug. ***

Comment 3 Roberto 2020-08-20 11:58:39 UTC
*** Bug 1870576 has been marked as a duplicate of this bug. ***

Comment 4 burak 2020-09-21 20:27:30 UTC
*** Bug 1881219 has been marked as a duplicate of this bug. ***