]> xenbits.xensource.com Git - libvirt.git/commit
rpm: Reduce use of with_modular_daemons
authorAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jul 2023 16:41:18 +0000 (18:41 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 27 Jul 2023 16:02:55 +0000 (18:02 +0200)
commitea45933d35b20d2826d821ab54e2046574dc57e8
treed1118bdfc04e58f15150850ea1196cc15f133d1e
parent1f3065a552c902c4a341bd617ddbd7461ac6b60f
rpm: Reduce use of with_modular_daemons

The current implementation pretty much assumes that targets
where modular daemons are the default will stick with that
configuration, as will targets where they're not, or that
changes to these defaults will be performed by the admin after
the packages have been installed.

This is unnecessarily limiting: for example, on a target that
defaults to using the monolithic daemon, it's entirely possible
to create a local preset such as

  # /etc/systemd/system-preset/00-virt.preset
  disable libvirtd.service
  disable libvirtd*.socket
  enable virtqemud.service

to opt into a modular daemon deployment. The opposite is of
course also true. We shouldn't get in the way of these
reasonable use cases.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
libvirt.spec.in