Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow firewalld drop capabilities #826

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Aug 6, 2021

With the 04a8b1ab7467 ("feat(firewalld): drop linux capabilities") commit,
firewalld attempts to drop capabilities to a minimal required set
(CAP_NET_ADMIN, CAP_NET_RAW). For that, the setpcap capability and
setcap process permissions are required.

Since the minimum set does not contain dac_read_search, this capability
was also removed from selinux policy.

Resolves: rhbz#1985494

With the 04a8b1ab7467 ("feat(firewalld): drop linux capabilities") commit,
firewalld attempts to drop capabilities to a minimal required set
(CAP_NET_ADMIN, CAP_NET_RAW). For that, the setpcap capability and
setcap process permissions are required.

Since the minimum set does not contain dac_read_search, this capability
was also removed from selinux policy.

Firewalld commit:
firewalld/firewalld@04a8b1a

Resolves: rhbz#1985494
@rhatdan
Copy link
Contributor

rhatdan commented Aug 6, 2021

LGTM

@erig0
Copy link

erig0 commented Aug 9, 2021

bump. This is blocking a couple Fedora/RHEL bugs. Can it be merged?

@zpytela zpytela merged commit e4d4388 into fedora-selinux:rawhide Aug 12, 2021
@zpytela zpytela deleted the fb-firewalld-cap branch August 12, 2021 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants