Avoid restarting dbus service

Restarting the dbus service is not necessary and is now triggering
a bug[1] in systemd-logind in CentOS Stream 9.

[1] https://issues.redhat.com/browse/RHEL-21004

Change-Id: Iae47044d7a58ba6316ff5f4b5ffdc01b03eddeba
This commit is contained in:
Takashi Kajinami 2024-01-09 00:16:29 +09:00
parent 27f6b3a433
commit 8d88b7bf4f
1 changed files with 7 additions and 4 deletions

View File

@ -151,11 +151,14 @@ class nova::compute::libvirt::services (
# messagebus
if( $facts['os']['family'] == 'RedHat') {
# NOTE(tkajinam): Do not use libvirt-service tag to avoid unnecessary
# restart.
service { 'messagebus':
ensure => running,
enable => true,
name => $::nova::params::messagebus_service_name,
tag => 'libvirt-service',
ensure => running,
enable => true,
name => $::nova::params::messagebus_service_name,
require => Anchor['nova::service::begin'],
before => Anchor['nova::service::end'],
}
}
}