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
Updated by Matthieu CERDA over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/212
Updated by Matthieu CERDA over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 9d49855ae6310e442fd1de445520eabb7e085ae3.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset 6a27f4666259be34000b7dc721728ee8d862c910.
Updated by Vincent MEMBRÉ over 8 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods
Actions