Debian Bug report logs -
#977319
slurm-wlm: reproducible builds: Binaries contain embedded paths from usrmerge systems
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 13 Dec 2020 23:09:02 UTC
Severity: normal
Tags: patch
Fixed in version slurm-wlm/20.11.3-3
Done: Gennaro Oliva <oliva.g@na.icar.cnr.it>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian HPC Team <debian-hpc@lists.debian.org>:
Bug#977319; Package src:slurm-wlm.
(Sun, 13 Dec 2020 23:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian HPC Team <debian-hpc@lists.debian.org>.
(Sun, 13 Dec 2020 23:09:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: slurm-wlm
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Several binaries shipped with slurm-wlm include embedded paths to the
"su" and "sleep" commands:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/slurm-wlm.html
200 Could·not·locate·command:·/bin/su
201 Could·not·locate·command:·/usr/bin/su
The attached patch fixes this in debian/rules by passing variables to
the configure script that specify using the locations in /bin, as this
is the most compatible path.
Thanks for maintaining slurm-wlm!
live well,
vagrant
[0001-debian-rules-Pass-SUCMD-and-SLEEP_CMD-to-configure.patch (text/x-diff, inline)]
From 9358f54ddf5c36f9c83a056464a58455191a6686 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 13 Dec 2020 22:15:20 +0000
Subject: [PATCH] debian/rules: Pass SUCMD and SLEEP_CMD to configure.
The path to "su" and "sleep" are embedded in the binaries, which may
be /bin/CMD or /usr/bin/CMD depending on if the running system is a
usrmerge system or not. Consistently use /bin/CMD as this is the most
compatible path.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index b84d25ab..90060bf0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,8 +26,8 @@ override_dh_auto_clean:
# hardening-no-fortify-functions
# Notice that -g in CFLAGS is still provided by dpkg-buildflags
override_dh_auto_configure:
- dh_auto_configure -- --sysconfdir=/etc/slurm --with-munge --enable-pam --without-rpath --disable-debug --enable-multiple-slurmd --with-pmix=/usr/lib/$(DEB_HOST_MULTIARCH)/pmix2 $(ENABLEDEPRECATED)
- dh_auto_configure --builddirectory build-emulator -- -sysconfdir=/etc/slurm --with-munge --enable-pam --without-rpath --disable-debug --enable-front-end --enable-multiple-slurmd --with-pmix=/usr/lib/$(DEB_HOST_MULTIARCH)/pmix2 $(ENABLEDEPRECATED)
+ dh_auto_configure -- --sysconfdir=/etc/slurm --with-munge --enable-pam --without-rpath --disable-debug --enable-multiple-slurmd --with-pmix=/usr/lib/$(DEB_HOST_MULTIARCH)/pmix2 $(ENABLEDEPRECATED) SUCMD=/bin/su SLEEP_CMD=/bin/sleep
+ dh_auto_configure --builddirectory build-emulator -- -sysconfdir=/etc/slurm --with-munge --enable-pam --without-rpath --disable-debug --enable-front-end --enable-multiple-slurmd --with-pmix=/usr/lib/$(DEB_HOST_MULTIARCH)/pmix2 $(ENABLEDEPRECATED) SUCMD=/bin/su SLEEP_CMD=/bin/sleep
override_dh_auto_build:
dh_auto_build
dh_auto_build --builddirectory build-emulator
--
2.20.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Gennaro Oliva <oliva.g@na.icar.cnr.it>:
You have taken responsibility.
(Thu, 18 Feb 2021 00:36:06 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Thu, 18 Feb 2021 00:36:06 GMT) (full text, mbox, link).
Message #10 received at 977319-close@bugs.debian.org (full text, mbox, reply):
Source: slurm-wlm
Source-Version: 20.11.3-3
Done: Gennaro Oliva <oliva.g@na.icar.cnr.it>
We believe that the bug you reported is fixed in the latest version of
slurm-wlm, 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 977319@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gennaro Oliva <oliva.g@na.icar.cnr.it> (supplier of updated slurm-wlm 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 17 Feb 2021 21:24:19 +0100
Source: slurm-wlm
Architecture: source
Version: 20.11.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Gennaro Oliva <oliva.g@na.icar.cnr.it>
Closes: 977319
Changes:
slurm-wlm (20.11.3-3) unstable; urgency=medium
.
* Pass SUCMD and SLEEP_CMD to configure (Closes: #977319)
Checksums-Sha1:
f2254fc40180fa4bbd2a80c69dbc033356ba893d 3767 slurm-wlm_20.11.3-3.dsc
c8e75d4072704b271a7b7e0e376e925d41f15f32 134080 slurm-wlm_20.11.3-3.debian.tar.xz
49b36a8d9c66a8af0de4c6526e6ec87d6cb6c679 21886 slurm-wlm_20.11.3-3_amd64.buildinfo
Checksums-Sha256:
99f8953b68aba9914aeba2d12655127ceea05dd9374a2d0b930e904f02e9838a 3767 slurm-wlm_20.11.3-3.dsc
dfa2257b501e0e31ebffae2173ed02c6578e6ea0f1cddd4545a595f39262f097 134080 slurm-wlm_20.11.3-3.debian.tar.xz
1922ebc0df03bf4d3b98b9b0f1dc2389d4443e4131c4ad501d96f2f893fbf958 21886 slurm-wlm_20.11.3-3_amd64.buildinfo
Files:
c9f8a393e2c6c498a7b082257fcd22cd 3767 admin optional slurm-wlm_20.11.3-3.dsc
6e0fa5f6afe2c307c77f48231c5e4600 134080 admin optional slurm-wlm_20.11.3-3.debian.tar.xz
263aac9a8b9884de5ae37c3f14d4d6fd 21886 admin optional slurm-wlm_20.11.3-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJLBAEBCgA1FiEE6zNF9WRBuLgad5h2ffpBrZYZhdcFAmAtjsUXHG9saXZhLmdA
bmEuaWNhci5jbnIuaXQACgkQffpBrZYZhddW8w//XtDQEv1gnY+TgT5Ozj/8QkHA
wL/2PykNJoyphu3GUxLbnpQFHgR5xLBOueCaMLUZ+8bIawwtW7UE53f/DwivNZK0
WCqqxi0RnA3DIcNu1qkCqOdmx5KrqyIvCeraR6qQDpUWfgl2BVlWJpHe+gGM8uUc
sfHG3czpFLH6fLAT5bxjiQ2SUP1tH6QbB8DrjM8r7T4nNvvyCTaxd0qsPv/9xZL2
LfOhRKm7fsqFxtQLWwv6wEP4AVfQ27zlvUnBOSYCUwDum45oeilDZBydUN4laQsb
Z6yWHTTVSkndrsZgCzQQlt1uFgwvAF8IjZFrd7CTivGH6JzsJF5eVnKspIbbcMey
vo68rf/LeWyU+0LTT6u3DDV/s/aRD3u4nj/+WzcWgUPikydhIiXmEFoVeCirukrn
j2aFftweB+MnDymEUf83ADyMImxuJ90GJGUzWrWmv8cilHPCagarjcOqFLMZLj09
kbC+CVs1ST44e4cPVNvFnoZBVJCmXTWwnizyky+ATLNTrtWqmPuGdiizxX2CNX9N
qNwz9zMh3ENhAECW3SDBGfB1+Gyt/Ed+JcdYAD4bGP2fHp4tn2c6h3mB4xOjbR7I
lCxJf52lPZ53Z7N46AB7kJ30aqAjFz4jyLaRjVDD8Zzt4gy+n50qn7Dh/IEeEPR1
+FjdzVHqY1A+kSshAfg=
=9IbH
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 29 Mar 2021 07:25:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 12:50:23 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
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.