[Piuparts-devel] Bug#761046: libwrap0: modifies /etc/hosts.(allow at deny)

Andreas Beckmann anbe at debian.org
Fri Nov 21 15:26:54 UTC 2014

On Wed, 10 Sep 2014 19:19:20 +0200 Holger Levsen <holger at layer-acht.org>
> On Mittwoch, 10. September 2014, Marco d'Itri wrote:
> > The *content* of the files changed between wheezy and jessie[1], but
> > look at postinst: it only creates them if they do not exist.

Why are these files not updated on upgrades properly? ucf could be used
for this ...

> > What causes the files to be deleted and created again?
> oh, gosh, this is some piuparts strangeness^wdesign choice I believe:

nothing strange here:

> $ grep Unpack libwrap0_7.6.q-25.log |grep wrap0

setup minimal wheezy chroot - no libwrap0 needed
distupgrade jessie - pulls libwrap0
>   Unpacking libwrap0:amd64 (7.6.q-25) ...
snapshot reference system and start over

setup minimal wheezy chroot - no libwrap0 needed
install package to be tested: libwrap0
>   Unpacking libwrap0:amd64 (from .../libwrap0_7.6.q-24_amd64.deb) ...
distupgrade jessie - upgrades libwrap0
>   Unpacking libwrap0:amd64 (7.6.q-25) over (7.6.q-24) ...

I don't see anything wrong in piuparts's approach here.


More information about the Piuparts-devel mailing list