stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

Support for RockyLinux #148

Closed stefanpejcic closed 2 months ago

stefanpejcic commented 4 months ago

OpenPanel version(s) affected

0.2.2

Description

Tested OpenPanel 0.2.2 on RockyLinux 9.4

screenshot

How to reproduce

yum update

dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf install -y docker-ce docker-ce-cli containerd.io
systemctl start docker

dnf install -y epel-release git wget mysql nginx zip unzip python3-pip pip jc sqlite certbot python3-certbot-nginx bind bind-utils ufw

# start and enable all services

# symlink bind files to /etc/named.conf and /etc/named/

#nginx remove www-data group

Possible Solution

No response

Additional Context

No response

stefanpejcic commented 3 months ago

cron is not runing due to selinux blocking root used in cronjobs

Aug 23 08:21:34 rockylinux-9 crond[74638]: ((null)) Unauthorized SELinux context=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 file_context=unconfined_u:object_r:cron_spool_t:s0 (/etc/cron.d/openpanel)