Your message dated Tue, 13 Oct 2015 05:04:43 +0000
with message-id <[email protected]>
and subject line Bug#801470: fixed in init-system-helpers 1.24
has caused the Debian Bug report #801470,
regarding dh-systemd: please sort list of unit files
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
801470: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801470
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: init-system-helpers
Version: 1.23
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: toolchain randomness
X-Debbugs-Cc: [email protected]
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that dh-systemd doesn't sort the list of unit files in prerm/postinst.
The attached patch fixes this.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/script/dh_systemd_enable b/script/dh_systemd_enable
index 41323dc..a03acb2 100755
--- a/script/dh_systemd_enable
+++ b/script/dh_systemd_enable
@@ -218,8 +218,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
next if @units == 0;
- my $unitargs = join(" ", map { basename($_) } @units);
- for my $unit (@units) {
+ my $unitargs = join(" ", sort map { basename($_) } @units);
+ for my $unit (sort @units) {
my $base = basename($unit);
if ($dh{NO_ENABLE}) {
autoscript($package, "postinst", "postinst-systemd-dont-enable", "s/#UNITFILE#/$base/");
diff --git a/script/dh_systemd_start b/script/dh_systemd_start
index 297f9c5..9f56f4e 100755
--- a/script/dh_systemd_start
+++ b/script/dh_systemd_start
@@ -192,7 +192,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# This wrapper function makes the following logic easier to read.
my $sd_autoscript = sub {
my ($script, $filename) = @_;
- my $unitargs = join(" ", map { basename($_) } @units);
+ my $unitargs = join(" ", sort map { basename($_) } @units);
autoscript($package, $script, $filename, "s/#UNITFILES#/$unitargs/");
};
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: init-system-helpers
Source-Version: 1.24
We believe that the bug you reported is fixed in the latest version of
init-system-helpers, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated init-system-helpers 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 13 Oct 2015 06:55:44 +0200
Source: init-system-helpers
Binary: init-system-helpers dh-systemd init
Architecture: source all amd64
Version: 1.24
Distribution: unstable
Urgency: medium
Maintainer: pkg-systemd-maintainers
<[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
dh-systemd - debhelper add-on to handle systemd unit files
init - System-V-like init utilities - metapackage
init-system-helpers - helper tools for all init systems
Closes: 794339 801470
Changes:
init-system-helpers (1.24) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: Annotate perl dependency with :any. (Closes: #794339)
.
[ Reiner Herrmann ]
* dh_systemd_{enable,start}: Sort list of unit files, to make generated
maintainer scripts reproducible. (Closes: #801470)
Checksums-Sha1:
1d9e37df675f3377f804b654bd82fd6ffa9ac2bd 1930 init-system-helpers_1.24.dsc
f69c294088ebca472bc0cdb0ad13e3a7be4c5861 31980 init-system-helpers_1.24.tar.xz
013e64d7c2f16c5a0f5ea232627a5dbcb0ae9e86 18740 dh-systemd_1.24_all.deb
fa4aaa358b20e0e1a5d8e0ab3b17f553d48ddd65 15280 init-system-helpers_1.24_all.deb
f473077935f8e1817eeb5a87437b0dce27bda87e 5500 init_1.24_amd64.deb
Checksums-Sha256:
271e4cb8b16f256b2cd29ae9c98429c864e51a021e8bb90ffd698d93cc4663b9 1930
init-system-helpers_1.24.dsc
4746dd0d85d39cf341f587b86d4d06050dcb960f85ea1d17bf6ca31f2d5eaa48 31980
init-system-helpers_1.24.tar.xz
00a310420f2ffe917316fa8f9014ec9d5f241396511bd6f807ab91744e185a2e 18740
dh-systemd_1.24_all.deb
56260ffdbc71e47d3966cb53bafaaeac9056fd95dd53ba2995e4493048fc88b8 15280
init-system-helpers_1.24_all.deb
33a888024252d1f3df7ff704e8ff9fa01a62e6551e8b265f22ba2406ad4a289a 5500
init_1.24_amd64.deb
Files:
27ec22b781010dbe2f4e15e7306b27a2 1930 admin extra init-system-helpers_1.24.dsc
f39ac642cd203b2825d16c71f11802dd 31980 admin extra
init-system-helpers_1.24.tar.xz
42ca82aec1a0ed1e1391e0af8760ecdd 18740 admin extra dh-systemd_1.24_all.deb
68f4db2abcc590e3635805c19cc5957d 15280 admin extra
init-system-helpers_1.24_all.deb
7109fac9924222fb6979fcfdf5b6e9f2 5500 metapackages required init_1.24_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWHJAPAAoJENFO8V2v4RNHJ1UP/RydqetVkt9KXOgQOFVXqpVO
wX4Wz7PTCJabd/BMqtgU6/Arg6HUgkzhedenjb6HOA9lOQ7BJpN+Hor2v/BJRctJ
vntIGjoFQkD9akxzZu/mJpcIwdF4FxMF7Dhori3d0gJfQgV0AcmMc/l+9T0+AWu5
aaDQZ34iNN7GTVPZi4gvSQSNXRYj9CUiQygMjFtQKqDiy6vOA76WhjQEHb1V2s+z
rXsyj8l1Bg0FOu7t3qQlskZVXXQspLFbx0p2DGeDpln2v3O6XqMjTcIGeK8Fpky6
F5E0d/yW5a21jBMmxdyOZxRvf/zvWtM70V6lrkN/TCD/shKYGKwmoJ/E/wGQ3Vbp
nsiR2nBRVSPBD8o4eZRIb79NkNa/joWZErU1k1mF5+OkfJ/1bsJ6zlmOMnxFVE9N
uFnkeZQf12ptlJv0q3v3IppCEQ5n1NfAKFAtokuYIQy7QPeZi156wrEcLqDWhQ1f
oKANIed9m+Fngm9eJxNPATlEbFjHZkpqmXszKftSxPNHMT7zfuxwRI5lytYa19PX
TuR7nb3o+VpVBnpC/pCY+cQPJDPkHt8yT4pJyz2XSzbsqRqVudgrPaPVD/uad97L
l6ImPBMYy6XvalVMbW4tXtjxJFvAcQoIWtx5Dh82ORp+zBJBVZlC9Grc+bU/Bn4i
NDtJqToMy/sTvTl8Wuyw
=O2YR
-----END PGP SIGNATURE-----
--- End Message ---