Re: [libvirt PATCH 34/42] systemd: Make modular daemons conflict with libvirtd

2023-09-27 Thread Andrea Bolognani
On Mon, Sep 25, 2023 at 08:58:32PM +0200, Andrea Bolognani wrote: > +++ b/src/virtd-tls.socket.in > @@ -3,6 +3,8 @@ Description=@name@ TLS IP socket > Before=@service@.service > BindsTo=@service@.socket > After=@service@.socket > +Conflicts=libvirt-tls.socket > +After=libvirt-tls.socket > @sock

Re: [libvirt PATCH 34/42] systemd: Make modular daemons conflict with libvirtd

2023-09-27 Thread Daniel P . Berrangé
On Mon, Sep 25, 2023 at 08:58:32PM +0200, Andrea Bolognani wrote: > We want to make sure that, at any given time, we have either the > modular daemons or the monolithic one running, never both. In > order to achieve that, make every single modular unit conflict > with the corresponding libvirtd uni

[libvirt PATCH 34/42] systemd: Make modular daemons conflict with libvirtd

2023-09-25 Thread Andrea Bolognani
We want to make sure that, at any given time, we have either the modular daemons or the monolithic one running, never both. In order to achieve that, make every single modular unit conflict with the corresponding libvirtd unit. We set both Conflicts=libvirtd.unit and After=libvirtd.unit: this tell