The /etc/logrotate.d/webfs file should probably be patched the same way: May 15 00:00:00 X systemd[1]: Starting Rotate log files... May 15 00:00:00 X logrotate[34644]: start-stop-daemon: matching only on non-root pidfile /var/run/webfs/webfsd.pid is insecure May 15 00:00:00 X logrotate[34637]: error: error running non-shared postrotate script for /var/log/webfs/webfs.log of '/var/log/webfs/webfs.log ' May 15 00:00:00 X systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE May 15 00:00:00 X systemd[1]: logrotate.service: Failed with result 'exit-code'. May 15 00:00:00 X systemd[1]: Failed to start Rotate log files.