@DorianWinty has reported that nginx issue:
$ sudo systemctl status nginx × nginx.service - nginx - high performance web server Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Wed 2024-07-31 16:11:27 UTC; 58s ago Duration: 5month 2w 3d 5h 12min 14.373s Docs: http://nginx.org/en/docs/ Process: 2788170 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE) CPU: 112ms Jul 31 16:11:26 docker-002.nasqueron.org systemd[1]: Starting nginx - high performance web server... Jul 31 16:11:27 docker-002.nasqueron.org nginx[2788170]: nginx: [emerg] open() "/var/log/www/error.log" failed (13: Permission denied) Jul 31 16:11:27 docker-002.nasqueron.org …
Can be fixed with chcon -t httpd_log_t /var/log/www /var/log/www/*.log, but before I tried a
restorecon and the context has heen lost:
Default context for /var/log | var_log_t |
Context for nginx logs | httpd_log_t |
As far as I know, https://devcentral.nasqueron.org/source/operations/browse/main/roles/webserver-core/nginx/config.sls$91 takes care to set that context permanently.