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?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers