Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1130663

Bug#1026976: Upcoming test suite regression due to changes in file/libmagic

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1026976: Upcoming test suite regression due to changes in file/libmagic
Date Thu, 29 Dec 2022 16:50:01 +0100
Message-ID <FI3kl-e85u-5@gated-at.bofh.it> (permalink)
References <FGzeF-d9mJ-1@gated-at.bofh.it> <FHBHr-dQEW-3@gated-at.bofh.it> <FGzeF-d9mJ-1@gated-at.bofh.it> <FHBHr-dQEW-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Dec 29 15:42:09 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.951
Reply-To Christoph Biedl <debian.axhn@manchmal.in-ulm.de>, 1026976@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
X-Debian-Pr-Message followup 1026976
X-Debian-Pr-Package src:strip-nondeterminism
X-Debian-Pr-Source strip-nondeterminism
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CDYg/L0mv5aqMmDt"
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1750840
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 29 Dec 2022 16:39:03 +0100
X-Original-Message-ID <1672327922@msgid.manchmal.in-ulm.de>
X-Original-References <1671973926@msgid.manchmal.in-ulm.de> <7a177f5f-06c8-42a0-b3f0-db63db582590@app.fastmail.com> <1671973926@msgid.manchmal.in-ulm.de> <7a177f5f-06c8-42a0-b3f0-db63db582590@app.fastmail.com>
Xref csiph.com linux.debian.bugs.dist:1130663

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Chris Lamb wrote...

> Thanks again for the "new version of file in experimental" bugs; very
> much appreciated.

You're welcome. Given file's volatility, I guess this will not be the
last conversation in that regard ...

> > - a /usr/bin/python3 script executable (binary data)
> > + Zip archive, with extra data prepended
> >
> > Now that looks a bit delicate ... if you think this is something that
> > should be handled in file/libmagic, let me know.
>
> Naturally, as one of the maintainers of strip-nondeterminism, I am
> inclined to believe that this is a minor regression in file. :)

This indeed was the rare where I think a change in file(1), while done
with best intentions, caused more harm than benefit.

> However, this "extra data prepended" doesn't fit well under the rubric
> of "data". Yes, this "#!/usr/bin/python3\n" shebang is definitely
> "data" of a kind, but a shebang isn't really data in that way given
> the special-treatment afforded to it by UNIX systems. Even if this
> noun was replaced by the more general "bytes", the magic nature of the
> shebang would still remain… as would the desire to discriminate
> between pyzip files and other ZIP files with prepended data.
>
> Could another — different — string be emitted in the case that these
> prepended bytes are a shebang? We could potentially look for the file
> starting with #! and for that to take precedence over this new case.

After some more thinking: I suggest you do nothing for the time being
while I take this to upstream. If all else fails, I'll revert the change
for the next upload. By the way, that will be 1:5.44-1, but the changes
to 1:5.43-3 are minimal.

    Christoph

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2022-12-25 14:30 +0100
  Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2022-12-25 22:30 +0100
  Bug#1026976: Upcoming test suite regression due to changes in file/libmagic "Chris Lamb" <lamby@debian.org> - 2022-12-28 11:20 +0100
    Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2022-12-29 16:50 +0100
      Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2022-12-31 01:30 +0100
        Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christos Zoulas <christos@zoulas.com> - 2022-12-31 21:40 +0100
  Bug#1026976: Upcoming test suite regression due to changes in file/libmagic Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2023-01-01 18:20 +0100
    Bug#1026976: Upcoming test suite regression due to changes in file/libmagic FC Stegerman <flx@obfusk.net> - 2023-01-01 22:30 +0100

csiph-web