On Sat, May 18, 2013 at 06:14:26PM -0700, Steve Langasek wrote:
> Before forwarding upstart jobs, there are a few things to be aware of. The
> tl;dr version of this for those who just want to start fixing packages and
> forwarding patches can be found at
> <https://wiki.ubuntu.com/UpstartCompatibleInitScripts>.
Thanks for this. I've converted the old approaches used in openssh and
binfmt-support to this new style, simplifying the packaging in both
cases.
> - Since the new init script will be a no-op, packages which normally restart
> in the postinst (instead of stopping in the prerm and starting in the
> postinst) *MUST* handle stopping the service in their preinst when
> upgrading from a pre-upstart-capable version. See the Debian udev package
> for an example of this.
This isn't in the wiki page, and so I missed it the first time round; it
would be helpful to add this there as well.
> And that's it. Your assistance in reducing this delta with Debian is
> appreciated. Currently in Ubuntu, we have 301 upstart jobs across 186
> packages; my goal is that, by the end of June, patches will be in the Debian
> BTS for any of these packages that are available in Debian.
Do you have a list anywhere of which packages contain jobs that need to
be forwarded, perhaps run through dd-list? It seems to me that this
would be a helpful thing to maintain centrally; and for example we could
probably deal with most orphaned packages rather quickly.
--
Colin Watson [cjwatson@ubuntu.com]
--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel