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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to