[Piuparts-devel] Bug#752256: Bug#752256: piuparts: any transitive reverse dependency of init-system-helpers (wrongly) fails test

Holger Levsen holger at layer-acht.org
Mon Jul 14 12:28:52 UTC 2014

Hi Helmut,

thanks for filing this bug to track this issue. Much appreciated! Do you need 
cc:s or are you subscribed?

On Samstag, 21. Juni 2014, Helmut Grohne wrote:
> When testing a transitive reverse dependency of init-system-helpers,
> piuparts claims that the package fails to purge, because stuff is left
> in /etc/systemd/. The main piuparts.d.n installation overcomes this
> issue by marking init-system-helpers pseudo-essential, but when running
> piuparts without any other parameters on a changes file,
> init-system-helpers is removed and thus the piuparts test fails with
> left-over files.

That's correct.
> Holger Levsen already investigated whether adding /etc/piuparts/scripts
> as a default for --scriptsdir, but this has two issues:
> 1) The current scripts in /etc/piuparts/scripts don't mark
>    init-system-helpers as pseudo-essential.

init-system-helpers is only handled in /etc/piuparts/scripts-leftovers

> 2) The --scriptsdir option is append-only, so this default cannot be
>    reverted via command line options.

So to fix the issue Helmut reported, it would have been needed to either move 
/etc/piuparts/scripts-leftovers/post_setup_fake-essential to 
/etc/piuparts/scripts/ or two add those 2nd directory to the defaults 

Both options I didnt really like cause it would mean to hide more problems by 
default, without giving a means to expose those problems.

For that it would need to be possible to reset scriptsdir. (Probably this 
should be tracked with another bug?)

Due to these problems and to be able to release the current develop branch 
(which fixes several other issues) to sid, I've reverted 
73478066a879fdaf5038acf60cbf9fed2432cb23 for now.
> As such we are still in need of a solution to make piuparts "just work"
> when invoked without parameters.
> The openbsd-inetd package is a test case.

Thanks for providing a test case too!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20140714/6611b3e4/attachment.sig>

More information about the Piuparts-devel mailing list