Tâche #30689
Scénario #30468: Mettre à jour la formula aux derniers standards de la communauté
Corriger une boucle de redémarrage qui peut arriver lorsque windows update est désactivé
Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
23/09/2020
Echéance:
% réalisé:
100%
Restant à faire (heures):
0.0
Description
Sur notre infrastructure, windows update est désactivé mais les postes sont vues comme nécessitant un redémarrage :
root@scribe:~# salt '*' system.get_pending_reboot DESKTOP-L1V9Q7Q.dompedago.etb1.lan: True root@scribe:~# salt '*' system.get_pending_reboot_details DESKTOP-L1V9Q7Q.dompedago.etb1.lan: ---------- Pending Component Servicing: False Pending Computer Rename: False Pending DVD Reboot: False Pending File Rename: True Pending Join Domain: False Pending ServerManager: False Pending Update: True Pending Windows Update: False Reboot Required Witnessed: False Volatile Update Exe: False
Il ne faut redémarrer que si la jonction au domaine vient d’être faite.
Demandes liées
Révisions associées
fix(reboot): disabled windows update may finish on reboot loop
When the windows update service is disabled, the workstation can stay
in “pending for reboot” state forever making the state to always
reboot it at startup.
We need to restrict the reboot state only when the join is done.
- eole-workstation/init.sls: remove the “reboot” from the list. It
will be used as dependency.
- eole-workstation/ad/join.sls: add an “onchanges_in” dependency to
hook the reboot on changes to the join of the computer.
Ref: #30689
Historique
#1 Mis à jour par Daniel Dehennin il y a plus de 3 ans
- Statut changé de Nouveau à En cours
- Assigné à mis à Daniel Dehennin
#2 Mis à jour par Daniel Dehennin il y a plus de 3 ans
- Statut changé de En cours à Résolu
- % réalisé changé de 0 à 100
Le problème n’était présent qu’en 2.8.
Correctif publié dans le paquet eole-workstation-formula 2.6.1-1
disponible sur eole-2.8-unstable
#3 Mis à jour par Joël Cuissinat il y a plus de 3 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) mis à 0.0
Vu
#4 Mis à jour par Daniel Dehennin il y a plus de 3 ans
- Lié à Tâche #30648: scribe 2.8 - problème important d'intégration client windows ajouté