Skip to content

Moved standard library paths bundle from common to agent type to simplify SELinux policy #3003

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

craigcomstock
Copy link
Contributor

@craigcomstock craigcomstock commented May 5, 2025

This should simplify selinux policy where we want the agent to have broad access but other components like serverd, execd, hub to have more limited access.

The paths bundle checks for the existence of many commands and this operation can cause SELinux AVCs.

Ticket: ENT-12954
Changelog: title

@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins please, thanks!

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

ubu24 hub had trouble installing, some problem with postgres starting. Looks like a flake.

…n SELinux policy

This should simplify selinux policy where we want the agent to have broad access but other components like serverd, execd, hub to have more limited access.

The paths bundle checks for the existence of many commands and this operation can cause SELinux AVCs.
The inventory bundle uses the curl command to see if the host is an AWS instance and if so collects some inventory from a well known API/IP.
The cfe_internal_hub_vars needs to determine if php-fpm executable is present.

As far as I can tell there isn't a need for the vars/classes defined in paths and inventory in components other than agent so this change should be OK.

Ticket: ENT-12954
Changelog: title

more common to agent fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants