On Thu, 10 Jun 2010, Timo Juhani Lindfors wrote: > Henrique de Moraes Holschuh <h...@debian.org> writes: > > NO. invoke-rc.d is for package maintainer script use. It shouldn't be used > > anywhere else. It is bad enough the amount of crap that happens at shutdown > > because people started misusing it inside ifup/ifdown.d, etc. > > Btw, after installing gnome I now get daily email from my > /etc/policy-rc.d since /etc/cron.d/anacron uses invoke-rc.d: > > 30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d > anacron start >/dev/null > > Is this a bug in anacron? Surely this is not a maintainer script?
It looks fishy as all heck, yes. Looks like both the initscript AND invoke-rc.d are being abused at first glance. It probably works just fine, but it is the sort of thing that we are likely to break sooner or later. -- "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