Project

General

Profile

Tâche #24404

Scénario #24289: EOLE 2.7.0 : Implémenter les fonctionnalités manquantes au niveau de la gestion du réseau

Redémarrer le service SSH lors de l’exécution d’instance/reconfigure

Added by Daniel Dehennin over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
07/03/2018
Due date:
% Done:

100%

Estimated time:
6.00 h
Spent time:
Remaining (hours):
0.0

Description

Instance ne semble pas redémarrer le service ssh.

Relancer le service ou un reboot permet de se connecter.

Associated revisions

Revision 32b2201f (diff)
Added by Daniel Dehennin over 4 years ago

Restart OpenSSH on network changes

  • networkd-dispatcher/routable.d/openssh-server: transpose script used
    in “/etc/network/if-up.d/”.
  • eole-common.mk: install script.

Ref: #24404

Revision a2a48680 (diff)
Added by Daniel Dehennin over 4 years ago

Restart OpenSSH on network changes

  • networkd-dispatcher/routable.d/openssh-server: transpose script used
    in “/etc/network/if-up.d/”.
  • eole-common.mk: install script.

Ref: #24404

Revision f6fa03bd (diff)
Added by Daniel Dehennin over 4 years ago

OpenSSH must be restarted on network changes everywhere

  • debian/eole-common-pkg.install: install in all containers

Ref: #24404

Revision 274c2005 (diff)
Added by Daniel Dehennin over 4 years ago

The restart of OpenSSH must be done during network “configuring”

The “AdministrativeState” is never “configured”, so the service is not
reloaded.

  • networkd-dispatcher/routable.d/openssh-server: fix
    “AdministrativeState” to match “configuring” instead of
    “configured”.
    Add logging.

Ref: #24404

Revision fe2bae9b (diff)
Added by Daniel Dehennin over 4 years ago

“networkd-dispatcher” scripts are not executed on reconfigure

  • dicos/00_common.xml: add “networkd-dispatcher” service just after
    “netplan-apply”.
  • networkd-dispatcher/routable.d/openssh-server: restart OpenSSH only
    on “configuring” and “configured” “AdministrativeState”

Ref: #24404

History

#1 Updated by Scrum Master over 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master over 4 years ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin over 4 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 6.0 to 0.25

#4 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat over 4 years ago

  • Status changed from Résolu to En cours

#6 Updated by Joël Cuissinat over 4 years ago

J'ai ajouté un test squash : http://squash-tm.eole.lan/squash/test-cases/4492/info

Mais il semble montrer que ce n'est pas fonctionnel !

#7 Updated by Scrum Master over 4 years ago

  • Status changed from En cours to Résolu

#8 Updated by Scrum Master over 4 years ago

  • Status changed from Résolu to En cours

#9 Updated by Joël Cuissinat over 4 years ago

  • Status changed from En cours to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

C'est mieux avec la nouvelle correction :)

#10 Updated by Daniel Dehennin over 4 years ago

  • Status changed from Fermé to Résolu

#11 Updated by Joël Cuissinat over 4 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF