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 about 7 years ago. Updated 4 months ago.

Status:
Released
Priority:
1
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
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 about 7 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 about 7 years ago

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

Applied in changeset commit:9d49855ae6310e442fd1de445520eabb7e085ae3.

Actions #3

Updated by Nicolas CHARLES about 7 years ago

Applied in changeset commit:6a27f4666259be34000b7dc721728ee8d862c910.

Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Alexis Mousset 4 months ago

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

Updated by Alexis Mousset 4 months ago

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

Also available in: Atom PDF