Project

General

Profile

Bug #7479

OpenSSH server configuration does not reload configurations

Added by Nicolas CHARLES over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

If the configuration is changed by ssh configuration technique, the technique will run /usr/bin/startsrc -s sshd
But if the process already runs, it won't do anything (except complain).
the good solution, if the process is running , is to send -HUP signal to the process; otherwise to start it


Subtasks

Bug #7554: double ampersand breaks promises generationReleasedNicolas CHARLES2015-12-07Actions

Related issues

Related to ncf - User story #7529: Add support for the SRC system on AIX for service managementReleasedBenoît PECCATTE2015-12-02Actions
#1

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
#2

Updated by Nicolas CHARLES about 5 years ago

  • Subject changed from OpenSSH server configuration does not reload configuration on AIX 7 to OpenSSH server configuration does not reload configurations

Solution should be

/usr/bin/stopsrc -s ${service_name} && until /usr/bin/lssrc -s ${service_name} | ${paths.grep} -q inoperative; do ${paths.perl} -e 'select(undef,undef,undef,.25)'; done; /usr/bin/startsrc -s ${service_name}

as per #7529

#3

Updated by Nicolas CHARLES about 5 years ago

  • Related to User story #7529: Add support for the SRC system on AIX for service management added
#4

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/813
#5

Updated by Nicolas CHARLES about 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.17, 3.0.12 and 3.1.5 which were released today.

Also available in: Atom PDF