Debian Bug report logs -
#577040
dh_installinit: don't force upstart when both .init and .upstart exist.
Reported by: "Trent W. Buck" <trentbuck@gmail.com>
Date: Fri, 9 Apr 2010 05:48:01 UTC
Severity: wishlist
Tags: patch
Found in version debhelper/7.4.17
Fixed in version debhelper/9.20120410
Done: Joey Hess <joeyh@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Fri, 09 Apr 2010 05:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Trent W. Buck" <trentbuck@gmail.com>:
New Bug report received and forwarded. Copy sent to Joey Hess <joeyh@debian.org>.
(Fri, 09 Apr 2010 05:48:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: debhelper
Version: 7.4.17
Severity: wishlist
File: /usr/bin/dh_installinit
I wanted to try Ubuntu's (Scott's) bootchart implementation on Debian
Sid, so I did this:
$ bzr checkout --lightweight lp:ubuntu/bootchart bootchart
$ cd bootchart/
$ debuild
[...]
$ dpkg -I ../*deb | grep Depends | fmt
Depends: upstart-job, libc6 (>= 2.7), upstart (>= 0.6.3-4),
initramfs-tools, lsb-base, lsb-release, klibc-utils (>= 1.1.1-4ubuntu6)
This source package contains both debian/bootchart.upstart and
debian/bootchart.init. Currently the former gets precedence,
resulting in a binary package that can't be used with sysvinit (as
upstart-job is provided by upstart, which conflicts with sysvinit).
It would be nice if the presence of both kinds of script caused
dh_installinit to include both, add "Depends: upstart | sysvinit", and
Do The Right Thing (whatever that may be) in the postinst.
PS: déjà vu! Did I already ask for this?
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debhelper depends on:
ii binutils 2.20.1-5 The GNU assembler, linker and bina
ii dpkg-dev 1.15.5.6 Debian package development tools
ii file 5.04-2 Determines file type using "magic"
ii html2text 1.3.2a-14 advanced HTML to text converter
ii man-db 2.5.7-2 on-line manual pager
ii perl 5.10.1-11 Larry Wall's Practical Extraction
ii perl-base 5.10.1-11 minimal Perl system
ii po-debconf 1.0.16 tool for managing templates file t
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none> (no description available)
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Fri, 09 Apr 2010 16:12:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Joey Hess <joey@kitenet.net>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>.
(Fri, 09 Apr 2010 16:12:06 GMT) (full text, mbox, link).
Message #10 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Steve, what happened to the upstart-job compatability layer
you talked about last July?
----- Forwarded message from "Trent W. Buck" <trentbuck@gmail.com> -----
Date: Fri, 09 Apr 2010 15:44:50 +1000
From: "Trent W. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#577040: dh_installinit: don't force upstart when both .init and
.upstart exist.
Reply-To: "Trent W. Buck" <trentbuck@gmail.com>, 577040@bugs.debian.org
X-Mailer: reportbug 4.11
Package: debhelper
Version: 7.4.17
Severity: wishlist
File: /usr/bin/dh_installinit
I wanted to try Ubuntu's (Scott's) bootchart implementation on Debian
Sid, so I did this:
$ bzr checkout --lightweight lp:ubuntu/bootchart bootchart
$ cd bootchart/
$ debuild
[...]
$ dpkg -I ../*deb | grep Depends | fmt
Depends: upstart-job, libc6 (>= 2.7), upstart (>= 0.6.3-4),
initramfs-tools, lsb-base, lsb-release, klibc-utils (>= 1.1.1-4ubuntu6)
This source package contains both debian/bootchart.upstart and
debian/bootchart.init. Currently the former gets precedence,
resulting in a binary package that can't be used with sysvinit (as
upstart-job is provided by upstart, which conflicts with sysvinit).
It would be nice if the presence of both kinds of script caused
dh_installinit to include both, add "Depends: upstart | sysvinit", and
Do The Right Thing (whatever that may be) in the postinst.
PS: déjà vu! Did I already ask for this?
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debhelper depends on:
ii binutils 2.20.1-5 The GNU assembler, linker and bina
ii dpkg-dev 1.15.5.6 Debian package development tools
ii file 5.04-2 Determines file type using "magic"
ii html2text 1.3.2a-14 advanced HTML to text converter
ii man-db 2.5.7-2 on-line manual pager
ii perl 5.10.1-11 Larry Wall's Practical Extraction
ii perl-base 5.10.1-11 minimal Perl system
ii po-debconf 1.0.16 tool for managing templates file t
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none> (no description available)
-- no debconf information
----- End forwarded message -----
--
see shy jo
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Mon, 17 Jan 2011 05:51:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>.
(Mon, 17 Jan 2011 05:51:03 GMT) (full text, mbox, link).
Message #15 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 577040 patch
block 577040 by 591791
thanks
Hi Joey,
Seems I missed your last message about this some time ago; sorry about that.
From the init system BoF at DebConf last summer, though, we now have a
proposed way forward to including upstart jobs in Debian - one that indeed
happens to involve installing both upstart jobs and sysvinit scripts
simultaneously.
There are bits of policy to be finalized first, and various other packages
(lsb-base, sysvinit) should also be updated before we start letting daemons
loose on the archive this way via debhelper; but I believe the attached will
do the job when the time comes.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[0001-dh_installinit-rework-upstart-handling-to-comply-wit.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Added tag(s) patch.
Request was from Steve Langasek <steve.langasek@canonical.com>
to control@bugs.debian.org.
(Mon, 17 Jan 2011 05:51:05 GMT) (full text, mbox, link).
Added blocking bug(s) of 577040: 591791
Request was from Steve Langasek <steve.langasek@canonical.com>
to control@bugs.debian.org.
(Mon, 17 Jan 2011 05:51:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#577040; Package debhelper.
(Mon, 17 Jan 2011 15:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list.
(Mon, 17 Jan 2011 15:45:06 GMT) (full text, mbox, link).
Message #24 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Steve Langasek wrote:
> There are bits of policy to be finalized first, and various other packages
> (lsb-base, sysvinit) should also be updated before we start letting daemons
> loose on the archive this way via debhelper; but I believe the attached will
> do the job when the time comes.
Is it safe to apply this now?
--
see shy jo
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Mon, 17 Jan 2011 17:45:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>.
(Mon, 17 Jan 2011 17:45:03 GMT) (full text, mbox, link).
Message #29 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Mon, Jan 17, 2011 at 11:38:34AM -0400, Joey Hess wrote:
> Steve Langasek wrote:
> > There are bits of policy to be finalized first, and various other packages
> > (lsb-base, sysvinit) should also be updated before we start letting daemons
> > loose on the archive this way via debhelper; but I believe the attached will
> > do the job when the time comes.
> Is it safe to apply this now?
I don't think it should be uploaded to Debian before upstart support is also
added in the places mentioned above (policy, sysvinit, lsb-base).
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#577040; Package debhelper.
(Tue, 25 Jan 2011 20:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list.
(Tue, 25 Jan 2011 20:03:03 GMT) (full text, mbox, link).
Message #34 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Steve Langasek wrote:
> I don't think it should be uploaded to Debian before upstart support is also
> added in the places mentioned above (policy, sysvinit, lsb-base).
I'd appreciate a ping when that happens.
--
see shy jo
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Mon, 28 Mar 2011 12:30:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Soren Hansen <soren@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>.
(Mon, 28 Mar 2011 12:30:03 GMT) (full text, mbox, link).
Message #39 received at 577040@bugs.debian.org (full text, mbox, reply):
What doesn't seem entirely clear to me, is why the upstart jobs take
precedence over sysvinit style boot scripts? It seems clear that Debian
prefers non-upstart over upstart (upstart being Priority: extra, and
insserv being the default pid 1 in Debian), so it would seem more
sensible to me to prefer init style boot scripts over upstart jobs.
Specifically, it makes it difficult to share efforts for packaging on
Ubuntu and Debian, since in Ubuntu we might want upstart jobs, but
adding them to the packaging results in (almost) uninstallable packages
in Debian, due to the dependency on upstart-job added by dh_installinit.
--
Soren Hansen
Ubuntu Developer http://www.ubuntu.com/
OpenStack Developer http://www.openstack.org/
Information forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#577040; Package debhelper.
(Mon, 09 Apr 2012 22:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to Joey Hess <joeyh@debian.org>.
(Mon, 09 Apr 2012 22:42:03 GMT) (full text, mbox, link).
Message #44 received at 577040@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
block 660824 by 577040
Hi Joey,
On Tue, Jan 25, 2011 at 03:59:00PM -0400, Joey Hess wrote:
> Steve Langasek wrote:
> > I don't think it should be uploaded to Debian before upstart support is also
> > added in the places mentioned above (policy, sysvinit, lsb-base).
> I'd appreciate a ping when that happens.
Here's a ping, and a rebased patch. The Debian policy bug is not finalized,
but is converging on consensus, so I think this is a good time to start
introducing some working code.
I was going to start with the sysvinit package first, but since
sysvinit-utils will itself install an upstart job, it needs dh_installinit
to DTRT first and avoid adding a dependency on upstart-job to this core
package. So it looks like debhelper should be done first.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[0001-dh_installinit-rework-upstart-handling-to-comply-wit.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Joey Hess <joeyh@debian.org>:
You have taken responsibility.
(Tue, 10 Apr 2012 17:21:10 GMT) (full text, mbox, link).
Notification sent
to "Trent W. Buck" <trentbuck@gmail.com>:
Bug acknowledged by developer.
(Tue, 10 Apr 2012 17:21:10 GMT) (full text, mbox, link).
Message #49 received at 577040-close@bugs.debian.org (full text, mbox, reply):
Source: debhelper
Source-Version: 9.20120410
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:
debhelper_9.20120410.dsc
to main/d/debhelper/debhelper_9.20120410.dsc
debhelper_9.20120410.tar.gz
to main/d/debhelper/debhelper_9.20120410.tar.gz
debhelper_9.20120410_all.deb
to main/d/debhelper/debhelper_9.20120410_all.deb
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 577040@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 10 Apr 2012 12:51:15 -0400
Source: debhelper
Binary: debhelper
Architecture: source all
Version: 9.20120410
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <joeyh@debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:
debhelper - helper programs for debian/rules
Closes: 577040 665891 666901 668276
Changes:
debhelper (9.20120410) unstable; urgency=low
.
[ Joey Hess ]
* Fix a typo. Closes: #665891
* Conflict with too old automake for AM_UPDATE_INFO_DIR=no. Closes: #666901
* dh_md5sums: Don't skip DEBIAN directories other than the control files
one. Closes: #668276
.
[ Steve Langasek ]
* dh_installinit: rework upstart handling to comply with new policy
proposal; packages will ship both an init script and an upstart job,
instead of just an upstart job and a symlink to a compat wrapper.
Closes: #577040
Checksums-Sha1:
581c349fc50b240f057d7bc3140a9c4a7a206278 1577 debhelper_9.20120410.dsc
d64c3f8c1e2cc289618e79737e3e2fe11135bf3b 463154 debhelper_9.20120410.tar.gz
d3b9cdbc041fcbc93fe281947e1c68d831bedafe 693564 debhelper_9.20120410_all.deb
Checksums-Sha256:
ef7eb4e4d824e9c498b75a7bcfc140e9cc943ba2595eb54b81fa51984286836d 1577 debhelper_9.20120410.dsc
efc042a1fff44b9d9d2556949a9d111c08f1a64db5c6ed394ba85c701e810fd6 463154 debhelper_9.20120410.tar.gz
1c1863bf6bc305eff075bbcb0c5f8523f2be3ffcca3785e6de05e32d7b9e3037 693564 debhelper_9.20120410_all.deb
Files:
5797752fcf235067e68638c815795832 1577 devel optional debhelper_9.20120410.dsc
e56b73dcbb4d75537046ca447358cce5 463154 devel optional debhelper_9.20120410.tar.gz
aa68c30d531b741aa122c123f24bf47b 693564 devel optional debhelper_9.20120410_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIVAwUBT4RnNskQ2SIlEuPHAQhEPg//WrLkEkrkuqd6uMX49765i8dRCgE8vuOz
iKolsLO534fQJWVtyrgqNpmND3QhGbbuGoB8yUV+QxXyXNKpjGaoiOanZqlcBzfj
NX4CJL0QFWQmQzektuNqUlp0qCE62Z3lTgMeNwlsbFmXoI7Ts6J8MQYw9FCKmGti
cz2IRjp9xtqTCXouUGwx6fBjnFqkyltHPZkYQmrkYdfCVWgcYusAAs9G6IEwDqkd
ptDVYc11ZVnn+i7cTMz0iIsSaZYKUsbM8tNNXPbgGerO/Y/2Rfq7AMd+Io04xIC8
ZbdcKbqUzT9sI5bkdLrRxnjtJ5BlXMMYspQtTzs/9dXvjb9t/fjymSy4YY/RU/Ah
LVzTSKHa31PQZLniULYuJUqgikay6tUCO1ECRa8mIJ7cf8RvUzDZKh6xBHUJz8bP
BpI1ors+PteVE6uWCQD0mMIkjSkhclX6QB4lwN50PE4uLx+5zBqoYWn8Js8OMLHO
0+c19q/fxwQLEJo+Rk0DRgFXyrz0KCSd7lM8B/ccpn1Go0gPd5xhmcdVPRf65CEO
r5D9vOhfPotC9aLwv26fsMS/o3o+dBdvLK5ZR5iq+cRZpPIPo2FYxTQK54cQTqpc
P6yiTzTNg5W18POd23pc+dibbVGm8fSPqAmJ0u5V0f/4r5JGSmUSgomG1grnLlwZ
Z+q4eTD9gGc=
=56na
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 09 May 2012 07:38:25 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:
Sat Jan 13 22:46:20 2018;
Machine Name:
beach
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.