I'm unable to enable wazuh-agent on a CentOS Stream 9 system. The agent will run if I start it manually but when I try to enable it so that it will start automatically, I get the following:
~$sudo systemctl enable wazuh-agent
Synchronizing state of wazuh-agent.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable wazuh-agent
Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory
On my Centos 8 and Rocky Linux installations the file systemd-sysv-install is a link to /usr/sbin/chkconfig. Based on the dates, it looks like those were part of the initial Linux installations. Neither the link nor the chkconfig file exist on the Centos 9 system.
How do I proceed to get wazuh-agent enabled?
Natassia