[Piuparts-devel] Bug#851108: piuparts should check for leftover binfmts

Christoph Anton Mitterer calestyo at scientia.net
Fri Jan 13 18:02:08 UTC 2017


On Fri, 2017-01-13 at 16:41 +0100, Andreas Beckmann wrote:
> binfmts are tricky with piuparts, since they are registered in the
> kernel and with only chroots we don't have sufficient separation
> between
> host and piuparts test or inbetween piuparts tests ...
Sure, but the kernel has no way to remember if over reboots, so there
must be some place on disk where the formats are stored...

Wouldn't it be enough, to check whether the contents of
/var/lib/binfmts
(which seems is that place) change after purging a package?
If something's left behind there, it will be legacy and come up again
after the next reboot.

Cheers,
Chris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20170113/4d61310a/attachment-0001.bin>


More information about the Piuparts-devel mailing list