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

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: