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
Description
Instance ne semble pas redémarrer le service ssh.
Relancer le service ou un reboot permet de se connecter.
Associated revisions
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
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
OpenSSH must be restarted on network changes everywhere
- debian/eole-common-pkg.install: install in all containers
Ref: #24404
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
“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é