Project

General

Profile

Anomalie #6661

erreur à l'appel de unmanaged_service

Added by Bruno Boiget over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
11/18/2013
Due date:
11/22/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

problème rencontré sur un serveur sphynx 2.4

run-parts: executing /usr/share/eole/posttemplate/00-arv reconfigure
Traceback (most recent call last):
  File "/usr/share/eole/posttemplate/00-arv", line 82, in <module>
    unmanaged_service('stop', 'arv', 'service')
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 192, in unmanaged_service
    commands = get_commands(display)
NameError: global name 'display' is not defined
run-parts: /usr/share/eole/posttemplate/00-arv exited with return code 1
Erreur posttemplate

Associated revisions

Revision 9e463f7f (diff)
Added by Bruno Boiget over 7 years ago

correction du passage de l'option display dans manage(/unmanaged)_service

Fixes #6661

History

#1 Updated by Bruno Boiget over 7 years ago

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

#2 Updated by Joël Cuissinat over 7 years ago

  • Due date set to 11/22/2013
  • Status changed from Résolu to Fermé
  • Start date set to 11/18/2013
>>> from pyeole import service
>>> service.unmanaged_service('restart', 'bastion', 'service')
[  OK  ]
[  OK  ]
[  OK  ]

Also available in: Atom PDF