08.01.2018 22:27, Michal Koutný пишет: > > > On 01/08/2018 08:04 PM, Andrei Borzenkov wrote: >> If systemd could infer that A requested B to be started it could also >> add implicit ordering between A and B. > Yes, this would be a way to the complete solution where all dependencies > are tracked
On the second thought you still need to handle situation when B is already active when A gets started. Then you have no implicit dependencies at all (no socket activation happens), but A still depends on B during shutdown. So I'm afraid explicitly adding this information to A is the only way. > (however, I'm not sure it's achievable). ActivationRequest > signal doesn't pass the requester identification and this would probably > track just the dependencies when the B.service isn't active yet. > > Michal >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel