Bug 1816869 - SELinux is preventing firewalld from using the 'sys_nice' capabilities.
Summary: SELinux is preventing firewalld from using the 'sys_nice' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1812165
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 32
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:522a55dffd978f5c78fb8a7fb48...
: 1829643 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 22:39 UTC by Ankur Sinha (FranciscoD)
Modified: 2020-04-30 00:28 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-25 16:06:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ankur Sinha (FranciscoD) 2020-03-24 22:39:49 UTC
Description of problem:
SELinux is preventing firewalld from using the 'sys_nice' capabilities.

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

If you believe that firewalld 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 'firewalld' --raw | audit2allow -M my-firewalld
# semodule -X 300 -i my-firewalld.pp

Additional Information:
Source Context                system_u:system_r:firewalld_t:s0
Target Context                system_u:system_r:firewalld_t:s0
Target Objects                Unknown [ capability ]
Source                        firewalld
Source Path                   firewalld
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-3.14.5-31.fc32.noarch
Local Policy RPM              selinux-policy-targeted-3.14.5-31.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.6.0-0.rc7.git0.2.fc32.x86_64 #1
                              SMP Mon Mar 23 18:38:45 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-03-24 22:36:31 GMT
Last Seen                     2020-03-24 22:36:31 GMT
Local ID                      c1ed5551-89da-4bb4-a56f-cd2735696a12

Raw Audit Messages
type=AVC msg=audit(1585089391.974:641): avc:  denied  { sys_nice } for  pid=775 comm="firewalld" capability=23  scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:system_r:firewalld_t:s0 tclass=capability permissive=0


Hash: firewalld,firewalld_t,firewalld_t,capability,sys_nice

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

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

Potential duplicate: bug 1812165

Comment 1 Zdenek Pytela 2020-03-25 16:06:25 UTC

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

Comment 2 Rafa 2020-04-30 00:28:25 UTC
*** Bug 1829643 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.