Your message dated Sat, 18 May 2013 15:33:03 +0000
with message-id <[email protected]>
and subject line Bug#708720: fixed in debhelper 9.20130518
has caused the Debian Bug report #708720,
regarding debhelper: dh_installinit should add a versioned dep on sysv-rc for
upstart jobs
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.)
--
708720: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708720
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20130516
Severity: normal
Hi Joey,
While fixing up debhelper in Ubuntu to match the dh_installinit upstart
implementation in Debian, I noticed that packages shipping upstart jobs
should have a versioned dependency on the version of sysv-rc whose
invoke-rc.d provides native support for upstart - otherwise, on upstart
systems the init script may be used instead of the upstart job in error.
This is more of an issue for Ubuntu than for Debian, since the versioned dep
is satisfied already in wheezy; but it would be correct to add it for Debian
as well, so I'm forwarding this patch on.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers saucy-updates
APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
Kernel: Linux 3.9.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From c701061d7b3ded60d1a308aa2b004301df4a7bed Mon Sep 17 00:00:00 2001
From: Steve Langasek <[email protected]>
Date: Fri, 17 May 2013 20:37:39 -0500
Subject: [PATCH] Packages with upstart jobs should carry a versioned
dependency on sysv-rc
Depend on the version of invoke-rc.d that supports upstart jobs directly,
without which invoke-rc.d will incorrectly use the sysvinit script instead
of the upstart job when starting the service.
---
dh_installinit | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dh_installinit b/dh_installinit
index e227006..3260866 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -224,6 +224,13 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $init=pkgfile($package,$script) || pkgfile($package,"init") ||
pkgfile($package,"init.d");
+
+ if ($job ne '' || ($dh{ONLYSCRIPTS} && -e "$tmp/etc/init/$jobfile.conf")) {
+ # minimal version of invoke-rc.d that supports upstart jobs
+ # directly
+ addsubstvar($package, "misc:Depends", "sysv-rc (>= 2.88dsf-24)");
+ }
+
if ($init ne '' && ! $dh{ONLYSCRIPTS}) {
if (! -d "$tmp/etc/init.d") {
doit("install","-d","$tmp/etc/init.d");
--
1.8.1.2
--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 9.20130518
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: Sat, 18 May 2013 10:49:09 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20130518
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
debhelper - helper programs for debian/rules
Closes: 708218 708720
Changes:
debhelper (9.20130518) unstable; urgency=low
.
* dh_installchangelogs: Write the changelog entry used for a binNMU,
as flagged by binary-only=yes to a separate file, in order to work
around infelicities in dpkg's multiarch support. Closes: #708218
(Thanks, Ansgar Burchardt)
* dh_installinit: Add versioned dependency on sysv-rc
when shipping upstart jobs. Closes: #708720
Checksums-Sha1:
14aaca07b03b0f9cc841711b83a4bc8631a22722 1577 debhelper_9.20130518.dsc
d5beb39eddccfd15f90a0758d2a3bce436cb861b 472829 debhelper_9.20130518.tar.gz
640618da916ec468d96b4d995a70007cd63a5c35 708200 debhelper_9.20130518_all.deb
Checksums-Sha256:
bded1434c9f7a6ca95f52248a21107a67c6fe33a46dc84b4bdee383e317d2c17 1577
debhelper_9.20130518.dsc
9e8e99a90fb628f67d9b148ff99cda11379cda16b48fad47c2fce80c8351c4d0 472829
debhelper_9.20130518.tar.gz
fdf68e3433da2076521279bb471589eeaff143ed9fedcc5b5e50e713e9d9da65 708200
debhelper_9.20130518_all.deb
Files:
e5c57f8f304b7757f69f16ebaa512922 1577 devel optional debhelper_9.20130518.dsc
2ad57fc35870a997c6a2e8c3305f68eb 472829 devel optional
debhelper_9.20130518.tar.gz
2f300ff2d59133ab865e0307b0b4afcb 708200 devel optional
debhelper_9.20130518_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIVAwUBUZeXkskQ2SIlEuPHAQjEcw/+I8VGcNhu4LHvbfF43fbbLoYXSNLIGTA9
hJ6i7mBcvVFg+mraL/D+Vc329bLeHz5fZVah0h6NHZ38L3mo4hq6KOtg/8GAl5B6
DtNLi0YS4PfTFwUQSqyVEGkWPeleQ5hBS4TURk5E1Bi/AorrTY64LDwSJwIUPWBG
z4KSX1AZudeF65auph9GC621clkIUkt3EmkInVLHNyYbwLsICfvm9+GrMqUToTn5
TE2Qihvh/do2dgnHfYWeUELh+sWxye9OBm3WBFWYLKspwlNkhegQmnya6ZpiDiYd
fYDatYpsBpy5OmO7cmuI1zr/vfk8StwMmnM2pBZopJ3TDrjnKh9za/ukhXlBk75k
3by25jrbF8t+F/W8B44HRVCAISyTFei11jNYEdWgjSBqBwMsMvvutlQF6nq0yjP/
9uPJHRju/0Aw9gnuoyZWpS7H7iRWU/bzKRZv6cpmfhurHIfLsDKZVXFBQYbI0jWi
ZPOlhq4IUxJzoREhe+9CQmBBTjVEWgTC3/+ntP7872itRsJ0s+eeMo7AWRieaoXh
hMWR2n8oKlVcLs4dHKr4SGHtkTupyz8h8rquLm3AWv45QvJDlLqtg2TPfjy33J8T
tEcth719eYio+DOn3fqFr/LiM3SZbOtSry4R+oWWKFMBlWiHQEnVlnIvZiayQ0g3
msx6K8yU5yU=
=8ppQ
-----END PGP SIGNATURE-----
--- End Message ---