[pkg-firebird-general] Bug#351203: #351203: firebird2-examples: upgrade + purge leaves /var/lib/firebird on disk

Damyan Ivanov dam at modsoftsys.com
Tue Jun 20 20:28:52 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Lars,

> Package: firebird2-examples
> Version: 1.5.2-10
> 
> While testing firebird2-examples with piuparts, I ran into the following
> problem:
> 
> 2m9.6s ERROR: Package purging left files on system:
>   /var/lib/firebird
> 
> This was in a test that installed the package in a sarge chroot, then
> upgraded that to etch and then to sid, and then removed and purged the
> package. Perhaps this is related to the change in August 2005 where the
> package's postinst was dropped and the package no longer creates a user?

Thank you for taking time to test firebird packages.

Your analysis is correct, firebird2-examples in sarge creates a user and
/var/lib/firebrid is that user's home directory. This directory is not
part of package's files so it is not removed on package removal.

The real problem is that firebird2-examples has no need at all to create
this user. In unstable packages, firebird user is created by
firebird2-*-server packages which also contain firebird's home directory
and thus does not suffer from this problem.

I am not sure how to fix the problem. May I ask you for your comments on
the following approaches?

1) prepare an update for the package in sarge - make it not create the
firebird user for firebrid2-examples
* I don't like this, since the bug doesn't seem so critical as to
deserve an update in sarge

2) make firebird2-examples in sid remove /var/lib/firebird if it is empty.
* Seems like a workaround, but would fix the piuparts tests for
firebird2-examples.


I'd go with 2), but sill be grateful for your opinion.


Thank you for your help,
dam
- --
Damyan Ivanov                           Modular Software Systems
dam at modsoftsys.bg
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam at jabber.minus273.org/Gaim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEmFqEHqjlqpcl9jsRAhjOAJoCQuRoMl9t3EqbuC6ygSaC+3R36gCgy4NT
W6vXskT3Jc/AvT8C6/m9Fno=
=t/ui
-----END PGP SIGNATURE-----




More information about the pkg-firebird-general mailing list