Skip to content
infected.gr

sysadmin horror stories

  • Linux
    • Enterprise Linux
    • Ubuntu
  • Security
  • Network
  • Mail
  • AI & LLM
  • Projects
    • CFM
    • Argus
  • Horror Stories

SELinux

Enabling SELinux on a Server That Had It Disabled for Years — And Somehow Nothing Broke

22/08/2026 by chris

A real-world AlmaLinux 10 SELinux migration from fully disabled to enforcing on a server running Apache, Remi PHP-FPM, BookStack, a Laravel controller, MariaDB, custom SSH port 65535, cron jobs and custom writable paths — with troubleshooting commands and a practical SELinux cheatsheet.

Categories Enterprise Linux, Security, Sysadmin Horror Stories Tags AlmaLinux, SELinux

Archives

Categories

  • AI & LLM (4)
  • Linux (10)
    • Enterprise Linux (4)
    • Ubuntu (2)
  • Mail (4)
  • Network (6)
  • Projects (14)
    • Argus (4)
    • CFM (10)
  • Security (15)
  • Sysadmin Horror Stories (8)

Recent Posts

  • Blesta: Not Everything Should Be Vibe Coded. Apparently, Security Reports Can Be Vibe Ignored. 26/10/2026
  • PHP2Shell Day: Everyone Else Took Their Sites Offline. We Merged a WAF Rule. 21/10/2026
  • Locking unmanaged tenants to their IP: anti-spoofing for dedicated servers and Proxmox VMs (MikroTik, Cisco Nexus, Proxmox) 28/09/2026
  • Enabling SELinux on a Server That Had It Disabled for Years — And Somehow Nothing Broke 22/08/2026
  • Updating a Forgotten BookStack: 15 Months, 1,371 Files and a Unix User That Didn’t Exist 22/08/2026
  • AlmaLinux 8 → 9 → 10 with ELevate: The Upgrade That Actually Worked 22/08/2026
  • Building a (Better) Admin UI for a Security Daemon 12/08/2026
  • GhostLock (CVE-2026-43499): “no mitigation” is true for the bug — not for the exploit chain 09/07/2026
  • Coming Soon to BitNinja. Already in Production in CFM. 08/07/2026
  • AlmaLinux 10: Dual EFI + mdadm RAID1 on Bare Metal (or: How I Spent My Friday Evening Arguing With a Boot Loader) 26/06/2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • February 2026
  • November 2025
  • October 2025
  • July 2025
  • March 2024
  • February 2024
  • May 2020

Tags

AlmaLinux (3) antivirus (1) BGP (1) Cisco Nexus (2) cPanel (2) CSF (1) CVE (4) disclosure (1) DNSBL (1) EFI (2) ELK (1) firewall (1) kernel (4) Let's Encrypt (1) machine learning (2) MikroTik (2) NetFlow (4) nginx (1) Ollama (2) Proxmox (1) RAID (2) SELinux (1) SEO (1) spam (4) SSL (1) storage (1) updates (3) WAF (4)
November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    
Copyright and Copyleft infected.gr