-
Notifications
You must be signed in to change notification settings - Fork 188
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
A round of SELinux policy updates and fixes #5358
Merged
vpodzime
merged 6 commits into
cfengine:master
from
vpodzime:master-selinux_fixes_10_2023
Nov 8, 2023
Merged
A round of SELinux policy updates and fixes #5358
vpodzime
merged 6 commits into
cfengine:master
from
vpodzime:master-selinux_fixes_10_2023
Nov 8, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nickanderson
previously approved these changes
Nov 1, 2023
vpodzime
force-pushed
the
master-selinux_fixes_10_2023
branch
4 times, most recently
from
November 3, 2023 10:12
2173081
to
8430062
Compare
olehermanse
approved these changes
Nov 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me, added some opinions on the changelog entries, but they are "low severity" :)
These are security parameters of the system found under /proc/sys/kernel. Allow **read** access is fine although our daemons normally shoudln't require this information (`cf-agent` is allowed this access already). Ticket: ENT-9684 Changelog: SELinux no longer blocks CFEngine deamons in reading security parameters from /proc/sys/kernel
Ticket: ENT-9727 Changelog: cf-hub is now allowed to use the TLS kernel module on SELinux-enabled systems
On RHEL 9 there so-called dynamic users handled by systemd. httpd needs to be able access the related directory and socket to query user information. Ticket: ENT-9727 Changelog: None
Allowing systemd to properly start and check our services, PostgreSQL to create and open the `/tmp/.s.PGSQL.5432.lock` file, ifconfig spawned by cf-hub to actually run as ifconfig_t, etc. Ticket: ENT-9727 Changelog: None
We need a different SELinux policy on RHEL 9 and RHEL 8 because the latter doesn't support all the types required by the policy for the former. Ticket: ENT-9727 Changelog: None
The type `systemd_userdbd_runtime_t` is only available on RHEL 9 and so RHEL 8 policy cannot contain it. Ticket: ENT-9727 Changelog: None
vpodzime
force-pushed
the
master-selinux_fixes_10_2023
branch
from
November 8, 2023 09:05
8430062
to
ba92b7b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.