[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [paul@xelerance.com: Re: [jcristau@debian.org: Re: openswan 2.6.28+dfsg-4 unblock request]]



On Thu, Dec 16, 2010 at 10:12:56PM +0100, Julien Cristau wrote:
> On Thu, Dec 16, 2010 at 21:25:15 +0100, Harald Jenny wrote:
> 
> > Dear Julien,
> > 
> > I have received this answer from the upstream maintainer.
> > 
> Debian packages are governed by Debian policy, not LSB.  Quoting 9.3.2:
> 
>      These scripts should not fail obscurely when the configuration files
>      remain but the package has been removed, as configuration files remain
>      on the system after the package has been removed.  Only when `dpkg' is
>      executed with the `--purge' option will configuration files be
>      removed.  In particular, as the `/etc/init.d/<package>' script itself
>      is usually a `conffile', it will remain on the system if the package
>      is removed but not purged.  Therefore, you should include a `test'
>      statement at the top of the script, like this:
>           test -f <program-executed-later-in-script> || exit 0

Ok thanks for the information I will talk with upstream how this can be done in
the best way - would the rest of the changes be acceptable if this issue gets
resolve?

> 
> Cheers,
> Julien

Kind regards
Harald


Reply to: