[Amavisd-new-debian-devel] 2.5.2-1 packages

Henrique de Moraes Holschuh hmh at debian.org
Thu Sep 20 09:47:12 UTC 2007


On Thu, 20 Sep 2007, Alexander Wirt wrote:
> > >   * Instead of interrupting the upgrade process if starting/stopping
> > >     amavisd-new just warn (Closes: #430028)
> > 
> > That is a bad, bad idea *IF* you actually start amavisd-new with an invalid
> > configuration (sorry, I don't have time to look the package to check exactly
> > what you did).  Letting the upgrade complete *with amavisd-new stopped* is
> > not a problem, as long as you do this by ignoring the status of the
> > initscript in the maintainer scripts and not by breaking the initscript to
> > not return failure...
> Na! You should look what I did. I use a feature of dh_installinit to cath the
> failure during upgrade and change it into a warning.
> In the deb it looks like: invoke-rc.d || error_handler(). 
> So exactly nothing has been changed in the initscript. 

Nice! I don't have anything against it, then (just make sure to build-depend
on new enough debhelper).

-- 
  "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



More information about the Amavisd-new-debian-devel mailing list