quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
7 stars 56 forks source link

ncm-metaconfig/libvirtd 23.6.0: daemons action is not compatible with EL9 #1682

Open jouvin opened 5 months ago

jouvin commented 5 months ago

In EL9, libvirtd (so-called monolithic daemon) has been replaced by modular daemons that combine a socket unit and a service that is started on demand by the socket unit when there is a request. This causes an error with libvirtd module of ncm-metaconfig that defines:

'daemons/libvirtd` = 'restart';

On EL9, this should not be done. There is no need to restart anything as the modular daemons read the configuration file when they are started by the socket unit. But not clear how to make this different on EL9 and previous versions...

jrha commented 5 months ago

Could we just override metaconfig/libvirtd/config in the EL9 OS tree?

jouvin commented 4 months ago

Not sure I like the idea of overriding a component file in an OS tree... But may be we can find a way to have config files dependent on OS version...