Debian Bug report logs - #851108
piuparts should check for leftover binfmts

version graph

Package: piuparts; Maintainer for piuparts is piuparts developers team <[email protected]>; Source for piuparts is src:piuparts (PTS, buildd, popcon).

Reported by: Christoph Anton Mitterer <[email protected]>

Date: Thu, 12 Jan 2017 04:15:02 UTC

Severity: wishlist

Tags: upstream

Found in version piuparts/0.73

Full log


Message #20 received at [email protected] (full text, mbox, reply):

Received: (at 851108) by bugs.debian.org; 13 Jan 2017 18:11:43 +0000
From [email protected] Fri Jan 13 18:11:43 2017
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 124; neutral, 36; spammy,
	2. spammytokens:0.948-+--H*r:sk:host-82, 0.936-+--H*RU:sk:host-82
	hammytokens:0.000-+--H*Ad:U*anbe, 0.000-+--H*RU:sk:calesty,
	0.000-+--H*F:U*calestyo, 0.000-+--H*rp:U*calestyo, 0.000-+--H*M:scientia
Return-path: <[email protected]>
Received: from mailgw-02.dd24.net ([193.46.215.43])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1cS6KF-0001cm-EL
	for [email protected]; Fri, 13 Jan 2017 18:11:43 +0000
Received: from mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27])
	by mailgw-02.dd24.net (Postfix) with ESMTP id 9C7AC5FCBF;
	Fri, 13 Jan 2017 18:02:10 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at
	mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw-02.dd24.net ([192.168.1.36])
	by mailpolicy-01.live.igb.homer.key-systems.net (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.25]) (amavisd-new, port 10236)
	with ESMTP id veBM0gdM7M-6; Fri, 13 Jan 2017 18:02:08 +0000 (UTC)
Received: from heisenberg.fritz.box (host-82-135-95-36.customer.m-online.net [82.135.95.36])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mailgw-02.dd24.net (Postfix) with ESMTPSA;
	Fri, 13 Jan 2017 18:02:08 +0000 (UTC)
Message-ID: <[email protected]>
Subject: Re: Bug#851108: piuparts should check for leftover binfmts
From: Christoph Anton Mitterer <[email protected]>
To: Andreas Beckmann <[email protected]>, [email protected]
Date: Fri, 13 Jan 2017 19:02:08 +0100
In-Reply-To: <[email protected]>
References: 
	<148419442182.27942.14874817538892589243.reportbug@heisenberg.scientia.net>
	 <[email protected]>
Content-Type: multipart/signed; micalg="sha-512";
	protocol="application/x-pkcs7-signature";
	boundary="=-rQXMId6D1yrCmZ+3dtkw"
X-Mailer: Evolution 3.22.3-1 
Mime-Version: 1.0
X-Greylist: delayed 564 seconds by postgrey-1.35 at buxtehude; Fri, 13 Jan 2017 18:11:43 UTC
[Message part 1 (text/plain, inline)]
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.
[smime.p7s (application/x-pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:13:18 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.