Actions
Bug #6940
closedThe service_check_started_at_boot generic method fails if run on Debian 8 and a legacy sysv init script is present
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Generic methods
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
We try to check if apache2 and postgresql are set to run at boot on Rudder server installations.
Problem: On Debian 8, systemctl is-enabled fails if the service still uses SysV style scripts (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760616)
We should correct the generic method not to use systemctl if:- We run on Debian 8
- A init script for the service can be found
Note: RHEL7 seems immune to this, as it asks chkconfig about the service status if needed
Actions