Your message dated Fri, 8 Nov 2013 16:26:06 -0800
with message-id <[email protected]>
and subject line Re: [debhelper-devel] Bug#729094: dh_installinit uses wrong 
paths for prerm and postinst when using upstart
has caused the Debian Bug report #729094,
regarding dh_installinit uses wrong paths for prerm and postinst when using 
upstart
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.)


-- 
729094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729094
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 9.20120909
X-Debbugs-CC: [email protected],
[email protected], [email protected]

# prerm-init

    if [ -x "/etc/init.d/#SCRIPT#" ]; then
            invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
    fi

# postinst-init

    if [ -x "/etc/init.d/#SCRIPT#" ]; then
            update-rc.d #SCRIPT# #INITPARMS# >/dev/null
            invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
    fi

dh_installinit generates a prerm.debhelper and
a postinst.debhelper for upstart scripts.

However upstart scripts go to init rather than init.d.
So the maintainer scripts do not start and stop the
service during install/uninstall.

--- End Message ---
--- Begin Message ---
On Sat, Nov 09, 2013 at 12:19:31AM +0100, Niklas Fiekas wrote:
> Package: debhelper
> Version: 9.20120909
> X-Debbugs-CC: [email protected],
> [email protected], [email protected]

> # prerm-init
> 
>     if [ -x "/etc/init.d/#SCRIPT#" ]; then
>             invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
>     fi

> # postinst-init

>     if [ -x "/etc/init.d/#SCRIPT#" ]; then
>             update-rc.d #SCRIPT# #INITPARMS# >/dev/null
>             invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
>     fi

> dh_installinit generates a prerm.debhelper and
> a postinst.debhelper for upstart scripts.

> However upstart scripts go to init rather than init.d.
> So the maintainer scripts do not start and stop the
> service during install/uninstall.

Debian policy requires all packages to integrate with sysvinit, even if they
also integrate with other init systems such as upstart or systemd. 
Debhelper's behavior here is therefore correct.  If your package is
installing an upstart job, but no corresponding init script, it does not
comply with Debian policy.

-- 
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/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to