Your message dated Tue, 25 Jun 2013 00:48:14 +0000
with message-id <[email protected]>
and subject line Bug#712727: fixed in debhelper 9.20130624
has caused the Debian Bug report #712727,
regarding [PATCH] dh_installinit: bugfix: use full path for tmpfiles
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.)


-- 
712727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20130605
Severity: normal
Tags: patch

Please apply the attached patch.

Quote from the commit message:

  While newer systemd versions don’t need the absolute path, this breaks
  with older systemd versions, notably v44, which we currently have in
  wheezy.
  
  Using the absolute paths has no drawbacks and works with both versions.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: armel
i386

Kernel: Linux 3.8.3 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils    2.22-7.1
ii  dpkg        1.16.9
ii  dpkg-dev    1.16.9
ii  file        5.11-2
ii  man-db      2.6.2-1
ii  perl        5.14.2-18
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.61

-- no debconf information
>From f8591163493dc5c08332da1342dee1c07025ab1f Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <[email protected]>
Date: Tue, 18 Jun 2013 22:51:11 +0200
Subject: [PATCH] dh_installinit: use absolute path to tmpfiles
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

While newer systemd versions don’t need the absolute path, this breaks
with older systemd versions, notably v44, which we currently have in
wheezy.

Using the absolute paths has no drawbacks and works with both versions.
---
 dh_installinit |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dh_installinit b/dh_installinit
index 4b6702d..7ee16ef 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -266,17 +266,19 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			my @tmpfiles;
 			find({
 				wanted => sub {
-					return unless -f $File::Find::name;
-					if ($File::Find::name =~ m,^$tmpdir/usr/lib/tmpfiles\.d/, ||
-						$File::Find::name =~ m,^$tmpdir/etc/tmpfiles\.d/,) {
-						push @tmpfiles, $File::Find::name;
+					my $name = $File::Find::name;
+					return unless -f $name;
+					$name =~ s/^$tmpdir//g;
+					if ($name =~ m,^/usr/lib/tmpfiles\.d/, ||
+						$name =~ m,^/etc/tmpfiles\.d/,) {
+						push @tmpfiles, $name;
 					}
 				},
 				no_chdir => 1,
 			}, $tmpdir);
 			if (@tmpfiles > 0) {
 				autoscript($package,"postinst", "postinst-init-tmpfiles",
-					"s/#TMPFILES#/" . join(" ", map { basename($_) } @tmpfiles)."/");
+					"s,#TMPFILES#," . join(" ", @tmpfiles).",");
 			}
 
 			if (! $dh{NO_START}) {
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20130624

We believe that the bug you reported is fixed in the latest version of
debhelper, 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.
Joey Hess <[email protected]> (supplier of updated debhelper 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: Mon, 24 Jun 2013 19:28:18 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20130624
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description: 
 debhelper  - helper programs for debian/rules
Closes: 712727 713257
Changes: 
 debhelper (9.20130624) unstable; urgency=low
 .
   * dh_installinit: Use absolute path for systemd tempfiles,
     for compatibility with wheezy's systemd. Closes: #712727
   * makefile buildsystem: Added heuristic to catch false positive in
     makefile target detection code. Closes: #713257
     Nasty make ... why won't it tell us what's in its pocketses?
Checksums-Sha1: 
 538913fb31c582469315d716879eaff8a638fc2d 1577 debhelper_9.20130624.dsc
 39bb654c7ad181ef2ab245525f046c7769cf0fef 474475 debhelper_9.20130624.tar.gz
 5e02e27df4c1667a65a695258b192aef5b3b05bf 709444 debhelper_9.20130624_all.deb
Checksums-Sha256: 
 eb69f9c661ec98f0f468c4e4a619521637bc8d3660a7dfd32e6567c6689f00a4 1577 
debhelper_9.20130624.dsc
 93c0e1e399bfb276b61bd8cc0461c2a4552c0f9ebe729f4826badf6a724acacf 474475 
debhelper_9.20130624.tar.gz
 bd7711c0fc8ddb2becd5b9e7a5aaed0d598ffd63587ff63a612e63aa29777a62 709444 
debhelper_9.20130624_all.deb
Files: 
 859a7f0928b2bd5ead88925d3d9abbfb 1577 devel optional debhelper_9.20130624.dsc
 93a3d0d9b6afd19c11d9693aaf15b243 474475 devel optional 
debhelper_9.20130624.tar.gz
 80fb518cd9ea986c905910742878e4c9 709444 devel optional 
debhelper_9.20130624_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUcjcjMkQ2SIlEuPHAQgI9Q//br7z7Af9NPlW+j3y/ietHez0J7Y+REWB
ivNmip67nQ8X0jTWRXoYfihLwmqP+NNMD9z9h7/DL1OqBGVjm9cpNYQyOQY+XjMx
H0Y1KpUrqCczcBzYhqGNG1fDDqr8QstadIXInJ8pDctr78txWQmbl7ec+7RcOzmT
Uzwc6q6L8/X+j6NsPq7iQyiHMAfzTarpOGro08I03b4VCkys+xAkgqoVgUlCAd+v
1lg2LKU/W9JCwvzN6vS6ubRRlTSFwTYziw22qWt92zswopd+1A0+j6C0Hg4JkS+u
LJzv1YgPb+taSfutS0wAG+wuxsQkb3bho2xFqLZR51CcZQxABPO6fCH/iKW6Q3ta
jD7fM380M0wYqSw6b1nQPOF+gNUKawRvcyu6OUbU7IeeQWvMFy6KTZRVepXqF/sB
qRs25KiFG5TZ9XAB9HK40mwgPgc3U6DWbVL4pDFuaO00Xz+cPi6ok0h3+NSht1ak
4CUR9EBKXUb0jMSdLq8Uj9hiP6AAi8OpN/GZnhUVEBvSHuwuD+0WScBoCtHaaTO6
VV8pxc5ax7zjOIR5uKoDHVxjv62b2ge+I5WCIhIMiKSnpVKdNqhaUVssI7YXJOA/
LmkpEt3P5r1p/QOK6az8QN2JE1WD/3AwYbSeCp+aZVzqz5YGuPjI+sOII865lL0W
0UMjiR6vPXY=
=McP/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to