[libvirt PATCH v3 2/4] spec: Move some files from -client to -daemon

Andrea Bolognani abologna at redhat.com
Tue Apr 20 15:41:09 UTC 2021


On Tue, 2021-04-20 at 16:10 +0200, Michal Privoznik wrote:
> On 4/20/21 2:30 PM, Andrea Bolognani wrote:
> >   %{_unitdir}/virtlockd.service
> >   %{_unitdir}/virtlockd.socket
> >   %{_unitdir}/virtlockd-admin.socket
> > +%{_unitdir}/libvirt-guests.service
> >   %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
> >   %config(noreplace) %{_sysconfdir}/sysconfig/virtproxyd
> >   %config(noreplace) %{_sysconfdir}/sysconfig/virtlogd
> 
> Doesn't this mean that the %systemd_preun %systemd_post and 
> %systemd_postun machinery should be now done in -daemon instead of 
> -client? I mean, if -daemon installs a service file I don't see why 
> -client should refresh systemd's state.

Good catch! I'll make sure the systemd-related snippets follow the
corresponding unit files.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list