Project

General

Profile

Tâche #22273

Scénario #22577: Upgrade-Auto vers 2.6.2 : dernières corrections et améliorations cosmétiques

Fonctionnement du service console-setup à contrôler

Added by Benjamin Bohard almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/04/2017
Due date:
% Done:

100%

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

Description

Le service console-setup n’est pas démarré après Upgrade-Auto :
https://dev-eole.ac-dijon.fr/issues/22193#note-3

Associated revisions

Revision 0efd4768 (diff)
Added by Laurent Flori almost 2 years ago

Fix first start of console-setup.service after instance post upgrade

ref: #22273

console-setup.service successfully started after instance after upgrade

Revision 45f1928f (diff)
Added by Laurent Flori almost 2 years ago

Fix console-setup.service start after instance after upgrade-auto

fix: #22273

This fix is needed at least for zephir 2.5.2 -> 2.6.2

History

#1 Updated by Joël Cuissinat almost 2 years ago

  • Estimated time set to 4.00 h
  • Remaining (hours) set to 4.0

Après un Upgrade Amon 2.5.2 -> 2.6.1, j'obtiens :

root@amon:~# diagnose 
*** Test du module amon version 2.6.1 (amon 00000001) ***

Attention, serveur opérationnel mais des services ne sont pas démarrés :

console-setup.service loaded failed
krb5-admin-server.service loaded failed
krb5-kdc.service loaded failed

Les 2 services krb5 ne sont plus installés à partir d'Amon 2.6.1 : #18726

#2 Updated by Joël Cuissinat almost 2 years ago

  • Parent task changed from #22222 to #22577

#3 Updated by Laurent Flori almost 2 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Laurent Flori almost 2 years ago

  • Assigned To set to Laurent Flori

#5 Updated by Laurent Flori almost 2 years ago

Le service échoue avec ces message d'erreur

root@amon:~# systemctl status console-setup.service 
● console-setup.service - Set console font and keymap
   Loaded: loaded (/lib/systemd/system/console-setup.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since lun. 2018-01-15 15:45:00 CET; 28min ago
     Docs: man:loadkeys(1)
 Main PID: 902 (code=exited, status=1/FAILURE)

janv. 15 15:44:59 amon systemd[1]: Starting Set console font and keymap...
janv. 15 15:45:00 amon setupcon[902]: /bin/setupcon: ligne 809: /tmp/tmpkbd.57hOCz: Aucun fichier ou dossier de ce type
janv. 15 15:45:00 amon systemd[1]: console-setup.service: Main process exited, code=exited, status=1/FAILURE
janv. 15 15:45:00 amon systemd[1]: Failed to start Set console font and keymap.
janv. 15 15:45:00 amon systemd[1]: console-setup.service: Unit entered failed state.
janv. 15 15:45:00 amon systemd[1]: console-setup.service: Failed with result 'exit-code'.

Le service est du type oneshot si on le relance "à la main" il s'exécute sans problèmes.

Si on redémarre le serveur l'erreur ne se produit plus

#6 Updated by Laurent Flori almost 2 years ago

  • Remaining (hours) changed from 4.0 to 1.0

#7 Updated by équipe eole Academie d'Orléans-Tours almost 2 years ago

Bonjour,

Sur un upgrade 2.5.2 -> 2.6.2, le service ne démarre pas à la main :

root@zephir:~# systemctl status console-setup.service 
 console-setup.service - Set console font and keymap
   Loaded: loaded (/lib/systemd/system/console-setup.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since lun. 2018-01-15 17:42:46 CET; 19h ago
     Docs: man:loadkeys(1)
 Main PID: 1297 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Nicolas

#8 Updated by Laurent Flori almost 2 years ago

  • Remaining (hours) changed from 1.0 to 0.0

#9 Updated by Laurent Flori almost 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#10 Updated by Laurent Flori almost 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF