[Pkg-pulseaudio-devel] Bug#494959: pulseaudio: Please remove stop links from rc0 and rc6

James Westby jw+debian at jameswestby.net
Wed Aug 13 12:54:45 UTC 2008


Package: pulseaudio
Version: 0.9.10-2
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

For daemons that do not require clean shutdown to perform their
operation it is possible to not explicitly stop the daemon in
runlevels 0 and 6, and let sendsigs take care of stopping the
daemon.

This has been used in Ubuntu for a while to speed up the shutdown
process. The policy has recently been changed to make it compatible
with Debian, and so I am now forwarding you the patch that can
help to bring these benefits in to Debian.

Please consider applying the attached patch.

You will also need a postinst snippet to remove the existing stop
links. This will look something like

# Remove shutdown and reboot links; this init script does not need them.
if dpkg --compare-versions "$2" lt "<version where patch is applied>";
then
        rm -f /etc/rc0.d/K20pulseaudio /etc/rc6.d/K20pulseaudio
fi

You can read more on this subject at

https://wiki.ubuntu.com/Teardown
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html
http://lists.debian.org/debian-devel/2008/07/msg00005.html

Thanks,

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulseaudio_0.9.10-2ubuntu3.patch
Type: text/x-patch
Size: 1076 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20080813/4d667db9/attachment.bin 


More information about the Pkg-pulseaudio-devel mailing list