Bug#728682: reassign to logrotate
reassign 728682 rsyslog thanks On Tue, 05 Nov 2013, Erwan David wrote: > On Tue, Nov 05, 2013 at 08:38:57AM CET, Paul Martin said: > > This does not belong on logrotate, but on the package including an > > /etc/logrotate.d/ script which contains the "invoke-rc.d rotate" > > command. > > > > Please find that script and reassign this bug to the appropriate > > package. > > > > Logrotate itself does not contain any such call to invoke-rc.d. > > Ok, so the bug belongs to rsyslog... > I do not know how to reassign it myself, so thanks to the person who will do > it. Done. -- "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
Bug#728682: reassign to logrotate
On Tue, Nov 05, 2013 at 08:38:57AM CET, Paul Martin said: > On Tue, Nov 05, 2013 at 06:29:43AM +0100, Erwan David wrote: > > > > Anyway, I am reassigning the bug to logrotate. > > > > > I should add that I get this message only on the machine where there is > > a policy-rc.d, on standard installation there is no message. > > This does not belong on logrotate, but on the package including an > /etc/logrotate.d/ script which contains the "invoke-rc.d rotate" > command. > > Please find that script and reassign this bug to the appropriate > package. > > Logrotate itself does not contain any such call to invoke-rc.d. Ok, so the bug belongs to rsyslog... I do not know how to reassign it myself, so thanks to the person who will do it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#728682: reassign to logrotate
On Tue, Nov 05, 2013 at 06:29:43AM +0100, Erwan David wrote: > > Anyway, I am reassigning the bug to logrotate. > > > I should add that I get this message only on the machine where there is > a policy-rc.d, on standard installation there is no message. This does not belong on logrotate, but on the package including an /etc/logrotate.d/ script which contains the "invoke-rc.d rotate" command. Please find that script and reassign this bug to the appropriate package. Logrotate itself does not contain any such call to invoke-rc.d. -- Paul Martin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#728682: reassign to logrotate
Le 04/11/2013 10:40, Henrique de Moraes Holschuh a écrit : > 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/ 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. > I should add that I get this message only on the machine where there is a policy-rc.d, on standard installation there is no message. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#728682: reassign to logrotate
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/ 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