[pkg-bacula-devel] Bug#672285: Bug#672285: bacula-director-sqlite3 package don't cleanup database after purging.

Luca Capello luca at pca.it
Mon May 14 12:18:42 UTC 2012


Hi Alexander!

On Wed, 09 May 2012 20:07:59 +0200, Alexander Golovko wrote:
> bacula-director-sqlite3 package don't cleanup database on purging.
>
> dbconfig-common not used in prerm and postrm scripts.

Is not this related to #670427?  If so, the two bugs should be merged.

However, what does 'cleanup database on purging' means?  That the SQL
database is not removed when purging?  In this case, what do similar
packages?

> [2. text/plain; bacula-director-sqlite3-correct-db-purge.patch]
>
> diff --git a/debian/bacula-director-sqlite3.postrm b/debian/bacula-director-sqlite3.postrm
> index bd21108..ba8aca0 100644
> --- a/debian/bacula-director-sqlite3.postrm
> +++ b/debian/bacula-director-sqlite3.postrm
> @@ -4,10 +4,21 @@
>  # see: dh_installdeb(1)
>
>  if [ -f /usr/share/debconf/confmodule ]; then
> -	. /usr/share/debconf/confmodule
> +    . /usr/share/debconf/confmodule

This is wrong, please use the same coding style as in previous entries
or, if you want to change it, do so in a separate commit.

The other part of the patch depends on my question above, but it should
be adapted to Hauke's development2 branch.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120514/0112c020/attachment.pgp>


More information about the pkg-bacula-devel mailing list