Debian Bug report logs -
#999552
pcs: stores wrong paths to systemctl and rm if built on merged-/usr system
Reported by: Simon McVittie <smcv@debian.org>
Date: Fri, 12 Nov 2021 11:33:04 UTC
Severity: important
Tags: bookworm, patch, sid
Found in version pcs/0.10.11-1
Fixed in version pcs/0.10.11-2
Done: Valentin Vidic <vvidic@debian.org>
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 HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>:
Bug#999552; Package src:pcs.
(Fri, 12 Nov 2021 11:33:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>.
(Fri, 12 Nov 2021 11:33:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: pcs
Version: 0.10.11-1
Severity: important
Tags: bookworm sid
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
If pcs is built on a merged-/usr system (as created by new installations
of Debian >= 10, debootstrap --merged-usr, or installing the usrmerge
package into an existing installation), then the paths to systemctl and
rm are recorded in the binary package as being in /usr/bin, rather than
the canonical /bin.
This can be seen on the reproducible-builds.org infra:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/pcs.html
If you have sbuild available, an easy way to reproduce this is to build
twice, once with --add-depends=usrmerge and once without.
The problematic situation is if the package is *built* on a unified-/usr
system, but *used* on a non-unified-/usr system. In this situation,
/usr/bin/rm, etc. exist on the build system but not on the system
where the package will be used, resulting in the features that use these
executables not working correctly.
Technical Committee resolution #978636 mandates heading towards a
transition to merged-/usr, and this will become a non-issue at the end of
that transition; but variation between merged-/usr and non-merged-/usr
builds is a problem while that transition is taking place, because it
can lead to partial upgrades behaving incorrectly. It is likely that
this class of bugs will become release-critical later in the bookworm
development cycle.
The attached patch resolves this by specifying the paths that work for
both merged-/usr and non-merged-/usr.
A side benefit of fixing this is that this change seems likely to be
sufficient to make the package reproducible (as recommended by Policy
§4.15).
smcv
[0001-d-rules-Specify-interoperable-path-for-systemctl-and.patch (text/x-diff, attachment)]
Added tag(s) patch.
Request was from Simon McVittie <smcv@debian.org>
to control@bugs.debian.org.
(Sat, 13 Nov 2021 15:51:02 GMT) (full text, mbox, link).
Reply sent
to Valentin Vidic <vvidic@debian.org>:
You have taken responsibility.
(Sat, 13 Nov 2021 21:39:03 GMT) (full text, mbox, link).
Notification sent
to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer.
(Sat, 13 Nov 2021 21:39:03 GMT) (full text, mbox, link).
Message #12 received at 999552-close@bugs.debian.org (full text, mbox, reply):
Source: pcs
Source-Version: 0.10.11-2
Done: Valentin Vidic <vvidic@debian.org>
We believe that the bug you reported is fixed in the latest version of
pcs, 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 999552@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Valentin Vidic <vvidic@debian.org> (supplier of updated pcs 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: Sat, 13 Nov 2021 21:57:37 +0100
Source: pcs
Architecture: source
Version: 0.10.11-2
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
Changed-By: Valentin Vidic <vvidic@debian.org>
Closes: 999552
Changes:
pcs (0.10.11-2) unstable; urgency=medium
.
[ Valentin Vidic ]
* d/rules: fix unit tests failing under reprotest
* d/rules: do not package deinstall.txt for python
.
[ Simon McVittie ]
* d/rules: Specify interoperable path for systemctl and rm (Closes: #999552)
Checksums-Sha1:
109cd58f820ee48d6edb1f1115b0c8fa89ee8e21 2564 pcs_0.10.11-2.dsc
875b259db5cbc6b4044ec1231eaf598c32d1f29b 180248 pcs_0.10.11-2.debian.tar.xz
b80ee447564f9b84d6738314bd1200557b4386f4 8977 pcs_0.10.11-2_source.buildinfo
Checksums-Sha256:
7a293429eb7cbb736d6020e12f216b94f5afa6bc0426624ce48941888715ad55 2564 pcs_0.10.11-2.dsc
e929319a96a6b03077e0e68233a9ed0bdedbd46f62100c8d6d35b4be82457266 180248 pcs_0.10.11-2.debian.tar.xz
ec19e73382d1495098e2159ffcb64a278a0c942ac5b86eadb01d0ef18bbb3b91 8977 pcs_0.10.11-2_source.buildinfo
Files:
e5ca312fc8f66d7a20d2c76cb15b2715 2564 admin optional pcs_0.10.11-2.dsc
a016d82487cf9b14d4f9de89660574e0 180248 admin optional pcs_0.10.11-2.debian.tar.xz
17d7fe68d022cd45b4bbdd3993b725af 8977 admin optional pcs_0.10.11-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEExaW53cM9k/u2PWfIMofYmpfNqHsFAmGQK68SHHZ2aWRpY0Bk
ZWJpYW4ub3JnAAoJEDKH2JqXzah7oS8P/ipGoGnFM51WvcKodtd8xwhJ5ZUuCZm3
seymS8bvUbDSR4Fdf2BPL0zsCrbxtBfh+K6nlBJlXVO8PnPSCAdV/r2uSgae4kht
8kSBU+V/MQreNpJMDF/FrEdf11TdffGb9zc4gb5/1cYs/v8/rRw4RTHnM9qKeJ75
I0TmDGFz3XfTfC8HrVMhAS6miAwWgcpuPumxek+pIGRrLuPFQRqiOCjVZ/myL9iY
NncqZrzyB575DJa4AYR/3owD7JkjzptvgoZR2ZBBKtWhmjQh52UDslH4NQIJEo+b
QsJdS5oyV6vq3fn1dJfP5U+FR1O3+bp6kihzLm1ekoykIzwUvJwvArQ6/FxdvWZD
HsWcXHWBj2ZayNoMaY87qVmszxPxbmOVsy4h4CWjBADRR0dYePjHNTGFJ3LY4cEI
ua6ihXsns2jbya/GKVG7etKFCximQ10JBbvu0z2R8bSRRyauc34SOlV+EPWz/kPA
aYHT1NUa+4OWRWlPr8VK/RV2AcN+zDBo2e/lbyCYtjpIPd+Ivx5m9FkCwr11/oAA
qUvR5XTCsSu4se8J4ghoMDHQmO1OwapdebptuDzggfdfvBGP9AjnmiyJ8QZQUAw5
apwuxqWZMzbeoKiXbW9GNvB++SeYyC35EmZV0FaD/Qs2lc5H0BJEUuQJ4MrJzzU6
L68lapAOW+TU
=XJ0W
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 14 Dec 2021 07:27:46 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 10:03:48 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.