[Pkg-sysvinit-devel] Bug#683084: Disabled services (Make invoke-rc.d/update-rc.d systemd-aware)

Michael Biebl biebl at debian.org
Fri Apr 12 22:33:25 UTC 2013


Looking again at the patches and the changes in the jessie-pending
branch, I think there is one case we are currently not handling
properly, and i.e. disabled services.

Disabled services should not be started after a package upgrade, as that
would imho be unexpected behaviour and a deviation from what happens
under sysvinit.

There are basically two variants:
a/ services which use --restart-after-upgrade
b/ the default with uses stop in prerm and start in postinst

for a/ we should probably use try-restart instead of restart for
disabled services.

for b/ the current behaviour in SysV iirc is, that the service is
stopped in prerm but *not* started in postinst. I will verify that tomorrow.


Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130413/4289b430/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list