docs: fix SELinux policy guidance and add CentOS EOL notices to LAMP/LEMP guides - #209
Open
somethingwithproof wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the CentOS-based LAMP/LEMP installation docs to reflect CentOS Linux EOL status and to provide actionable SELinux steps that allow running Cacti with SELinux enforcing.
Changes:
- Added CentOS 7/8 EOL notices and guidance to use Rocky Linux/AlmaLinux.
- Replaced “disable SELinux” guidance with SELinux booleans + file-context (
semanage/restorecon) steps and updated the SELinux docs link. - Standardized the LEMP SELinux section structure and updated the non-default install-path note to reference the new steps.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Install-Under-CentOS_LEMP.md | Adds EOL banner and replaces SELinux section with enforcing-friendly booleans + fcontext/restorecon guidance. |
| Install-Under-CentOS_LAMP.md | Adds EOL banner, updates SELinux guidance similarly, and links the non-default path note back to the SELinux steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
somethingwithproof
added a commit
to somethingwithproof/documentation
that referenced
this pull request
Mar 10, 2026
Refs Cacti#209 Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
somethingwithproof
force-pushed
the
fix/selinux-apparmor-centos-eol
branch
from
March 10, 2026 20:56
1206ada to
6bd07da
Compare
Refs Cacti#209 Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
somethingwithproof
force-pushed
the
fix/selinux-apparmor-centos-eol
branch
from
March 15, 2026 05:20
6bd07da to
dee6a8f
Compare
Ubuntu and Debian enable AppArmor but ship no Apache profile by default, so Apache runs unconfined and the reload commands error out on a stock system. Gate the section on an Apache profile being present before applying overrides. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Contributor
Author
|
Both LAMP and LEMP guides already include the |
This file contains hidden or 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
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.
Closes #210
Refs #57
Summary
setsebool -P httpd_can_network_connect 1andhttpd_can_network_connect_db 1(required for DB access and SNMP polling)semanage fcontext/restoreconcommands for non-default install pathshttps:////wiki.centos.org/es/HowTos/SELinux→ current RHEL 9 SELinux docsyumwithdnfthroughout (yum deprecated in RHEL 8+)powertools(RHEL/Rocky 8) vscrb(RHEL/Rocky 9)innodb_file_format,innodb_large_prefix,innodb_additional_mem_pool_size(removed MySQL 8.0)ssl_prefer_server_cipherscacti.sqlimport path andpoller.phpcron path to use/usr/share/nginx/htmlTest plan
setseboolcommands are correct for RHEL 8/9, Rocky 8/9, AlmaLinux 8/9