Project

General

Profile

Tâche #13338

Scénario #13248: esbl-ocs non fonctionnel

Le montage du répertoire /home/applications/ocsinventory plante le conteneur "reseau"

Added by Joël Cuissinat about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/02/2015
Due date:
% Done:

100%

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

Description

Le "/" présent à la fin du nom du répertoire entraîne des erreurs étranges lors du montage dans le conteneur :

root@amonecole:~# head /var/log/lxc-reseau.log 
      lxc-start 1443713582.193 ERROR    lxc_utils - utils.c:ensure_not_symlink:1398 - Mount onto /usr/lib/x86_64-linux-gnu/lxc//home/applications/ocsinventory/ resulted in /usr/lib/x86_64-linux-gnu/lxc/home/applications/ocsinventory

      lxc-start 1443713582.193 ERROR    lxc_utils - utils.c:safe_mount:1423 - Mount of '/home/applications/ocsinventory/' onto '/usr/lib/x86_64-linux-gnu/lxc//home/applications/ocsinventory/' was onto a symlink!
      lxc-start 1443713582.193 ERROR    lxc_conf - conf.c:mount_entry:2051 - Invalid argument - failed to mount '/home/applications/ocsinventory/' on '/usr/lib/x86_64-linux-gnu/lxc//home/applications/ocsinventory/'
      lxc-start 1443713582.193 ERROR    lxc_conf - conf.c:lxc_setup:4160 - failed to setup the mounts for 'reseau'
      lxc-start 1443713582.193 ERROR    lxc_start - start.c:do_start:688 - failed to setup the container
      lxc-start 1443713582.193 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
      lxc-start 1443713582.215 ERROR    lxc_start - start.c:__lxc_start:1080 - failed to spawn 'reseau'
      lxc-start 1443713587.219 ERROR    lxc_start_ui - lxc_start.c:main:342 - The container failed to start.
      lxc-start 1443713587.219 ERROR    lxc_start_ui - lxc_start.c:main:344 - To get more details, run the container in foreground mode.

Associated revisions

Revision 31cea38f (diff)
Added by Joël Cuissinat about 6 years ago

Gestion du "/" final dans les fstab des conteneurs

  • tmpl/lxc.fstab : appel à os.path.normpath pour supprimer l'éventuel "/" final

Ref: #13338 @1h

History

#1 Updated by Joël Cuissinat about 6 years ago

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

#2 Updated by Scrum Master about 6 years ago

  • Status changed from En cours to Résolu

#3 Updated by Gérald Schwartzmann about 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Also available in: Atom PDF