Project

General

Profile

Anomalie #6034

Traceback quand je fais un Maj-Auto --help

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/17/2013
Due date:
09/20/2013
% Done:

100%

Estimated time:
0.25 h
Spent time:
Distribution:
EOLE 2.4

Description

# Maj-Auto --help
usage: Maj-Auto [-h] [-c CONTAINER] [-l {debug,info,warning,error,critical}]
                [-v] [-d] [-n] [-M | -E | -C | -D] [-r] [-R] [-S EOLE_MIRROR]
                [-U UBUNTU_MIRROR]

Manage EOLE server automatic update

optional arguments:
  -h, --help            show this help message and exit
  -n, --dry-run         run in dry-run mode
  -M, --minimal         use stable packages only
  -E, --proposed-updates
                        use packages waiting for next release
  -C, --candidat        use testing packages
  -D, --devel           use development packages
  -r, --reconfigure     run reconfigure on successful upgrade
  -R, --reboot          reboot on successful upgrade (implies -r)
  -S EOLE_MIRROR, --eole-mirror EOLE_MIRROR
                        EOLE repository server
  -U UBUNTU_MIRROR, --ubuntu-mirror UBUNTU_MIRROR
                        Ubuntu repository server

container:
  -c CONTAINER, --container CONTAINER
                        Name of LXC container

logging:
  -l {debug,info,warning,error,critical}, --log-level {debug,info,warning,error,critical}
                        Log level
  -v, --verbose         Verbose mode
  -d, --debug           Debug mode
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/bin/Maj-Auto", line 41, in release_lock
    release('majauto', level='system')
  File "/usr/lib/python2.7/dist-packages/pyeole/lock.py", line 298, in release
    raise NotMyLock(err)
NotMyLock: A system lock is already set by another process for majauto
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/bin/Maj-Auto", line 41, in release_lock
    release('majauto', level='system')
  File "/usr/lib/python2.7/dist-packages/pyeole/lock.py", line 298, in release
    raise NotMyLock(err)
pyeole.lock.NotMyLock: A system lock is already set by another process for majauto

Associated revisions

Revision 0662fb0e (diff)
Added by Daniel Dehennin over 6 years ago

« Maj-Auto » tente toujours de supprimer un verrou

Il ne faut pas tenter de supprimer un verrou lorsque la commande ne fait
rien.

  • bin/Maj-Auto (main): La fonction « release_lock() » ne doit être
    enregistrée que si un lock est acquis.

Fixes: #6034 @15m

History

#1 Updated by Daniel Dehennin over 6 years ago

  • Due date set to 09/20/2013
  • Status changed from Nouveau to Accepté
  • Start date set to 09/17/2013
  • Estimated time set to 0.25 h

Un lock majauto est en place et la fonction release_lock() est toujours enregistrée pour s’exécuter à la sortie.

#2 Updated by Daniel Dehennin over 6 years ago

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

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

  • Status changed from Résolu to Fermé

Commande OK avec creole 2.4.0-174

Also available in: Atom PDF