Project

General

Profile

Tâche #16951

Distribution EOLE - Scénario #16742: Utiliser /usr/sbin/bastion restart pour regénérer les règles iptables

Remplacer « service bastion restart » par « bastion restart »

Added by Daniel Dehennin almost 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/01/2016
Due date:
% Done:

100%

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

Description

La compilation des règles iptables se fait en exécutant le scripts « /usr/sbin/bastion restart » car systemd n’a pas « ExecRestart » : modifier la ligne de log

ead/backend/actions/amon/securite.py:            log.err("Erreur: securite.py, une erreur s'est produite au lancement de 'service bastion restart'(3).")

Associated revisions

Revision 26f46a2e (diff)
Added by Daniel Dehennin almost 8 years ago

Remplacement des « service bastion restart »

Ref: #16951

Revision b85cfa7f (diff)
Added by Daniel Dehennin almost 8 years ago

Remplacement des « service bastion restart »

  • backend/actions/amon/securite.py (Horaire._valid_horaire):
    Remplacement de « service_out » par « system_out ».

Ref: #16951

History

#1 Updated by Daniel Dehennin almost 8 years ago

  • Parent task set to #16742

#2 Updated by Daniel Dehennin almost 8 years ago

  • Description updated (diff)
  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin almost 8 years ago

  • Description updated (diff)

#4 Updated by Daniel Dehennin almost 8 years ago

  • Description updated (diff)

#5 Updated by Daniel Dehennin almost 8 years ago

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

#6 Updated by Scrum Master almost 8 years ago

  • Status changed from Nouveau to En cours

#7 Updated by Scrum Master almost 8 years ago

  • Status changed from En cours to Résolu

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

  • Status changed from Résolu to En cours

Il en reste un :)

/usr/share/ead2/backend/actions/amon/securite.py:        res = service_out('bastion', 'restart')

#9 Updated by Scrum Master almost 8 years ago

  • Status changed from En cours to Résolu

#10 Updated by Fabrice Barconnière almost 8 years ago

  • Remaining (hours) changed from 0.25 to 0.0

OK

#11 Updated by Fabrice Barconnière almost 8 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF