Skip to content

ENT-13666: Added RHEL 10 specific SELinux policy#6035

Open
aleksandrychev wants to merge 1 commit intocfengine:masterfrom
aleksandrychev:ENT-13666
Open

ENT-13666: Added RHEL 10 specific SELinux policy#6035
aleksandrychev wants to merge 1 commit intocfengine:masterfrom
aleksandrychev:ENT-13666

Conversation

@aleksandrychev
Copy link
Contributor

Ticket: ENT-13666

@aleksandrychev aleksandrychev force-pushed the ENT-13666 branch 2 times, most recently from 79bf50f to 8d52ad9 Compare February 10, 2026 09:49
@aleksandrychev
Copy link
Contributor Author

aleksandrychev commented Feb 10, 2026

with this fix:

sudo ausearch -m avc -ts recent
<no matches>

@@ -0,0 +1,69 @@
require {
type cfengine_reactor_t;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am suspicious about all the requires. I remember this biting us in the past. Look at other policies for hints on using macros for many includes instead.

}

#============= cfengine_apachectl_t ==============
allow cfengine_apachectl_t devpts_t:dir { getattr search };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be interesting to compare this to a standard apache httpd policy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

devpts_t:dir { getattr search } — needed for ps to access terminal info, apachectl runs ps to check whether httpd processes are running.

Ticket: ENT-13666
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants