Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Night's Watch
-
1
-
NW - 2021-07-28
-
Needs Assessment
-
mwhahaha
-
Bug Fix
-
Use `systemd` as the default service provider for EL 9 variants such as RedHat or CentOS Stream.
-
Needs Assessment
Description
Puppet Version:
puppet-7.8.0
Puppet Server Version:
OS Name/Version:
CentOS Stream 9
Describe your issue in as much detail as possible…
Using the service provider results in chkconfig being used instead of systemd. This is similar to the steps we had to do for PUP-9069
Describe steps to reproduce…
Use the service provider to manage a service.
Desired Behavior:
systemd provider is used
Actual Behavior:
chkconfig provider is used
Example
https://github.com/openstack/puppet-pacemaker/blob/master/manifests/service.pp#L60-L66
Results in:
<13>Jul 12 19:00:39 puppet-user: Error: Could not enable pcsd: Execution of '/sbin/chkconfig --add pcsd' returned 1: error reading information on service pcsd: No such file or directory
<13>Jul 12 19:00:39 puppet-user: Error: /Stage[main]/Pacemaker::Service/Service[pcsd]/ensure: change from 'stopped' to 'running' failed: Could not enable pcsd: Execution of '/sbin/chkconfig --add pcsd' returned 1: error reading information on service pcsd: No such file or directory
Attachments
Issue Links
- relates to
-
PUP-11433 Use systemd provider by default in RHEL/CentOS
-
- Needs Information
-