Description of problem: Permissions on log directory won't let varnishncsa start. Version-Release number of selected component (if applicable): Package rh-varnish6-varnish-6.0.0-2 How reproducible: Problem is present "out of the box" Steps to Reproduce: 1. install rh-varnish6-varnish 2. systemctl start rh-varnish6-varnishncsa.service Actual results: From logs: systemd: Starting Varnish Cache HTTP accelerator NCSA logging daemon... varnishncsa: Can't open output file (Permission denied) systemd: rh-varnish6-varnishncsa.service: control process exited, code=exited status=1 systemd: Failed to start Varnish Cache HTTP accelerator NCSA logging daemon. systemd: Unit rh-varnish6-varnishncsa.service entered failed state. systemd: rh-varnish6-varnishncsa.service failed. Expected results: from "ps axf": /opt/rh/rh-varnish6/root/usr/bin/varnishncsa -a -w /var/opt/rh/rh-varnish6/log/varnish/varnishncsa.log -D -P /var/opt/rh/rh-varnish6/run/rh-varnish6-varnish/varnishncsa.pid Additional info: Permissions on log and pid directories are wrong" drwx------ root.root" when varnishncsa runs as varnish.varnish Probably needs a file in /usr/lib/tmpfiles.d/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:2262