Package: distributed-net Version: 2.9112.521-1 Tags: patch Every week, cron logs an error from attempting to logrotate distributed-net.
/etc/logrotate.d/distributed-net says after rotating to run invoke-rc.d distributed-net reload >/dev/null /etc/init.d/distributed-net doesn't support a "reload" action, only "restart", so the attempt gives an error. But it turns out that dnetc re-opens the log file each time it writes, so no reload or restart is necessary, and we can just get rid of the postrotate action entirely. Here's the patch: --- debian/distributed-net.logrotate_2.9112.521-1 2009-03-14 21:49:18.000000000 -0700 +++ debian/distributed-net.logrotate 2020-05-17 09:29:05.284103866 -0700 @@ -2,8 +2,5 @@ weekly rotate 5 create 640 daemon adm - postrotate - invoke-rc.d distributed-net reload >/dev/null - endscript compress }