reassign 728682 logrotate retitle 728682 logrotate: cronjob: please use invoke-rc.d --quiet thanks
On Mon, 04 Nov 2013, Erwan David wrote: > /etc/cron.daily/logrotate: > invoke-rc.d: action rotate is unknown, but proceeding anyway. > > My /usr/bin/policy-rc.d does indeed treat the rotate action. However it is > not documeted in the man page. > > It seems there is a mismatch between logrotate and invoke-rc.d about this > action. Well, "rotate" is a custom action provided by logrotate. We cannot really teach invoke-rc.d and policy-rc.d about it in the general case. What is happening is that invoke-rc.d is warning you that it is sending a non-standard action to policy-rc.d. That warning doesn't show up otherwise. For now, it would be best for logrotate to use "--quiet" to call invoke-rc.d with custom actions. That said, I am unsure if a cron script is the proper place to use invoke-rc.d, it is certainly not its intended (and expected!) use profile. We usually control cronjobs through /etc/default/<package> or automatically (so as to avoid running them when the package is in removed but not purged state), and not through runlevels... Anyway, I am reassigning the bug to logrotate. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org