stefanpejcic / OpenPanel

OpenPanel is a powerful and flexible web hosting control panel for Linux systems.
https://openpanel.com
MIT License
141 stars 22 forks source link

Support for RockyLinux #148

Closed stefanpejcic closed 1 week ago

stefanpejcic commented 2 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 weeks 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)