-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
The legacy service
command still exists in RHEL9, and will attempt to use the SysV-style init script packaged in our RPM as /etc/init.d/auditbeat
, but it will fail because that script depends on /etc/rc.d/init.d/functions
, which is absent on recent versions of RHEL.
The service can be managed successfully via Systemd's systemctl
command.
We should consider removing the SysV-style init script (if not required by other supported RPM-based distros), or modify it to provide graceful output rather than this error:
$ service auditbeat status
/etc/init.d/auditbeat: line 40: /etc/rc.d/init.d/functions: No such file or directory
/etc/init.d/auditbeat: line 44: status: command not found
/etc/init.d/auditbeat: line 90: status: command not found
Confirmed versions that have this issue:
- Red Hat Enterprise Linux release 9.1 (Plow) as Vagrant box generic/rhel9 (virtualbox, 4.2.16)
- Auditbeat 8.7.0
- Packetbeat 8.7.0
Systemd adoption as default init system
Distro | Version | Date |
---|---|---|
CentOS | 7 | 2014-07 |
RHEL | 7 | 2014-06 |
SLES | 12 | 2014-10 |
Amazon Linux | 2 | 2018-06 |
https://en.wikipedia.org/wiki/Systemd#Adoption
https://aws.amazon.com/about-aws/whats-new/2018/06/announcing-amazon-linux-2-with-long-term-support/
Non-systemd RPM distributions in our support matrix
Centos 6
2020-11-30
End of life
https://endoflife.software/operating-systems/linux/centos
https://wiki.centos.org/FAQ/General#What_is_the_support_.27.27end_of_life.27.27_for_each_CentOS_release.3F
RHEL 6
2020-11-30
End of life
2024-06-30
End of extended life-cycle support
https://endoflife.software/operating-systems/linux/red-hat-enterprise-linux-rhel#6
https://access.redhat.com/support/policy/updates/errata
Amazon Linux
2018-11-19
Last release (Amazon Linux AMI 2018.03)
2020-12-31
End of life. End of standard support
2023-12-31
End of maintenance support period
https://aws.amazon.com/blogs/aws/update-on-amazon-linux-ami-end-of-life/
https://aws.amazon.com/amazon-linux-ami/