Bug#751741: Processed: reassign 751741 to dh-systemd, reassign 751744 to dh-systemd, forcibly merging 751741 751744 ...

Michael Biebl biebl at debian.org
Sat Jul 26 19:33:42 BST 2014


Hi,

Am 23.07.2014 09:28, schrieb Michael Stapelberg:
> Hi Paul, Michael,
> 
> sorry for the late reply. I finally looked into this, and I realized
> that I’m missing context/time to test and investigate deeper.
> 
> My vague idea is that we should mask sockets before the upgrade and
> unmask them after. Not quite sure when the proper point in time (in
> maintscript-world) is for both, though. This probably also entails
> adding a new autoscript and special-casing .socket files.
> 

The "masking" that you remember, is relevant for D-Bus activated service
files, which don't have an explicit socket unit (yet, will change with
the switch to kdbus).

As for .socket units: they should be treated like .service units and
started and stopped at the same time.
You just need to keep the ordering in mind.
If a package contains foo.service and foo.socket unit, you need to make
sure foo.socket is stopped before the foo.service (on remove/upgrade).

I think that's all there is to it.

I think it shouldn't be to hard to add.

Cheers,
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140726/afa084d7/attachment-0004.sig>


More information about the Pkg-systemd-maintainers mailing list