#1012354 Please add support for systemd-binfmt

Package:
sbcl
Source:
sbcl
Description:
Common Lisp compiler and development system
Submitter:
Michael Biebl
Date:
2022-06-28 00:54:03 UTC
Severity:
wishlist
Tags:
#1012354#5
Date:
2022-06-05 14:09:45 UTC
From:
To:
Hi,

your package sbcl declares a dependency (Recommends) on binfmt-support
and ships binfmt-support configuration files in /usr/share/binfmt/.

systemd provides a builtin, cross-distro facility named systemd-binfmt to
register binary formats.

You can read more about it at
https://www.freedesktop.org/software/systemd/man/systemd-binfmt.html
https://www.freedesktop.org/software/systemd/man/binfmt.d.html
https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html

The systemd package provides a dpkg file trigger so it is sufficient to
simply install configuration files in /usr/lib/binfmt.d/, no
modifications in the maintainer scripts are necessary.

The attached patch adds support for systemd-binfmt and adjusts the
dependency on binfmt-support accordingly, so binfmt-support is no longer
installed automatically if systemd is already installed.

Regards,
Michael

#1012354#10
Date:
2022-06-13 01:14:07 UTC
From:
To:
Hello Michael,

Thanks for the patch.  I take it you got the sbcl.conf from the
binfmt-conf package?  So systemd-binfmt means that these config files
get stored in packages rather than all stored in binfmt-conf?

#1012354#15
Date:
2022-06-13 01:14:07 UTC
From:
To:
Hello Michael,

Thanks for the patch.  I take it you got the sbcl.conf from the
binfmt-conf package?  So systemd-binfmt means that these config files
get stored in packages rather than all stored in binfmt-conf?

#1012354#20
Date:
2022-06-14 19:39:56 UTC
From:
To:
Hi Sean

Am 13.06.22 um 03:14 schrieb Sean Whitton:

I'm confused. What's the "binfmt-conf" package?

#1012354#25
Date:
2022-06-14 19:50:38 UTC
From:
To:
Hello,

Sorry, I meant binfmt-support.

#1012354#30
Date:
2022-06-14 19:59:08 UTC
From:
To:
Am 14.06.22 um 21:50 schrieb Sean Whitton:

Ok, then that's a no.

I looked at that kind of binfmt configuration the sbcl package ships
(i.e. debian/binfmt) and created sbcl.conf from that information.


Michael

#1012354#35
Date:
2022-06-18 08:37:21 UTC
From:
To:
Am 14.06.22 um 21:59 schrieb Michael Biebl:

Maybe that was a bit misleading.
What I meant to say is that the information in sbcl.conf is not coming
from the binfmt-support package but from the binfmt config file shipped
in sbcl as debian/binfmt.
And in the same way, sbcl.conf should be shipped in the sbcl package.

Regards,
Michael

#1012354#40
Date:
2022-06-27 23:40:17 UTC
From:
To:
Hello,

Cool, thank you.

#1012354#45
Date:
2022-06-28 00:50:35 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sbcl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012354@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <spwhitton@spwhitton.name> (supplier of updated sbcl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 27 Jun 2022 17:20:48 -0700
Source: sbcl
Architecture: source
Version: 2:2.2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Sean Whitton <spwhitton@spwhitton.name>
Closes: 1012354
Changes:
 sbcl (2:2.2.3-2) unstable; urgency=medium
 .
   [ Michael Biebl ]
   * Add support for systemd-binfmt (Closes: #1012354).
 .
   [ Sean Whitton ]
   * Add myself to Uploaders.
   * Drop d/source/local-options for dgit compatibility.
Checksums-Sha1:
 6a215fa36181018b9c1911e25bb2fa9b536a4b09 2751 sbcl_2.2.3-2.dsc
 8ca60b49371ad5f1c58ef7dc500545155d6ee06a 77104 sbcl_2.2.3-2.debian.tar.xz
Checksums-Sha256:
 7d7fa33acafca5ee35753cd31c8f9d2dab33c9d5f83c0799944652bd545d8ef2 2751 sbcl_2.2.3-2.dsc
 96d9d31778b162fe4277d4c033d4a072a0160e85ee7757f25faa6df924b76124 77104 sbcl_2.2.3-2.debian.tar.xz
Files:
 bb65d61cbe0f21183faf2c7000ebe4c8 2751 lisp optional sbcl_2.2.3-2.dsc
 3e7cc7e33b183c5476ac0387662e1db6 77104 lisp optional sbcl_2.2.3-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmK6SbsACgkQaVt65L8G
YkAUFg/+Ohw2e1NyPAedtXk5GkbnS0cfuoPSUdbvU9U9o+xUeTv+ejbXIhA8+1Sb
I3SlWChq8A7OSQAYQAVAdm0LSXdIre71cbksX2NrdCh1r/o6fEhtWtiYpZwXnqPI
djOKJPaUnEoF18cL4GNFXbtaAXwZWYU0BNIC2A3iltpcLQ+YGo550FI3Q+4H+Zow
sbl/JPfOu8Qbl3MaawRHi23LV4yle2FtdC6FgdeVlSAFYzs7z8LtyH1Qp9+Fusn8
ulS7XzYxSNyh2Q715MxR/YIXOwpWpmuHDCQdr3OTztzrhBozyrkJjdmeLvReica8
eU64/syThQJatqVfFJaD2Fd3bhei8vnH/KmI/xAvKv4JB/u3GaEO3z0bwxHAU9/s
YLgZUCW62mDX7zbCDTN63fxOyIvHzvWR430NA1QjEKaf/BVmhDsaq+fCmA823sO5
42lXt+URWabo8f4NUtHYmGMhVpZ38sh3oaEFcj3wBo6POmBd16Dc3bf5P7giPHzC
pqFIB9GpK9rB+HQDUId4Ei+PYkDqHf4HqFi3qh0UmI9HBOLotJAEU5S6l9wUAkCq
xvVbPhE+77AWljaEQYFmv/Azn6Z+Z9tRisF2OsKna7JF9pRWreBLFQohWU7lzi5P
jSZxsz6lGWGX5MJiJ3jqUmb7iW+WiYOCSaRA0OU5LlpiBOB33dg=
=LzQa
-----END PGP SIGNATURE-----