Project

General

Profile

Actions

Bug #6940

closed

The service_check_started_at_boot generic method fails if run on Debian 8 and a legacy sysv init script is present

Added by Matthieu CERDA over 9 years ago. Updated over 2 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Generic methods
Target version:
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 #1

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
Actions #2

Updated by Matthieu CERDA over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #6

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF