Project

General

Profile

Tâche #14032

Scénario #9810: Les erreurs lors du reconfigure apparaîssent en double avec Maj-Auto -r/Maj-Auto -R

Maj-Auto : gérer les erreurs reconfigure de la même façon que reconfigure

Added by Emmanuel GARETTE almost 4 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/16/2015
Due date:
% Done:

100%

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

Description

Pour cela, il faut sortir l'appel de reconfigure.main du "try" et faire un "try" spécifique.

Associated revisions

Revision 2a077b38 (diff)
Added by Emmanuel GARETTE over 3 years ago

ne pas doubler les erreurs lors d'un Maj-Auto -r (ref #14032 @1h)

History

#1 Updated by Philippe Caseiro over 3 years ago

  • Assigned To set to Philippe Caseiro

#2 Updated by Scrum Master over 3 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Joël Cuissinat over 3 years ago

  • Status changed from En cours to Nouveau

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

  • Assigned To deleted (Philippe Caseiro)

#5 Updated by Fabrice Barconnière over 3 years ago

  • Description updated (diff)

#6 Updated by Emmanuel GARETTE over 3 years ago

  • Status changed from Nouveau to En cours

#7 Updated by Emmanuel GARETTE over 3 years ago

  • Status changed from En cours to Nouveau
  • Assigned To set to Emmanuel GARETTE

#8 Updated by Scrum Master over 3 years ago

  • Status changed from Nouveau to En cours

#9 Updated by Emmanuel GARETTE over 3 years ago

Pour reproduire :

root@amonecole:~# apt-get install sudo=1.8.16-0ubuntu1
[..]
root@amonecole:~# cat > /usr/share/eole/preservice/00-plante <<EOF
#!/bin/bash

exit 1
EOF
root@amonecole:~# chmod +x /usr/share/eole/preservice/00-plante
root@amonecole:~# Maj-Auto -r
[..]
run-parts: /usr/share/eole/preservice/00-plante exited with return code 1
Erreur : pretemplate
Maj-Auto - Erreur : pretemplate
<pre>

#10 Updated by Emmanuel GARETTE over 3 years ago

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

#11 Updated by Scrum Master over 3 years ago

  • Status changed from En cours to Résolu

#12 Updated by Daniel Dehennin over 3 years ago

  • Remaining (hours) changed from 0.25 to 2.0

#13 Updated by Daniel Dehennin over 3 years ago

  • Remaining (hours) changed from 2.0 to 0.0

#14 Updated by Daniel Dehennin over 3 years ago

  • Status changed from Résolu to Fermé

Avec le nouveau paquet:

run-parts: executing /usr/share/eole/preservice/00-anetwork reconfigure
run-parts: executing /usr/share/eole/preservice/00-plante reconfigure
run-parts: /usr/share/eole/preservice/00-plante exited with return code 1
Erreur : preservice

Also available in: Atom PDF