Project

General

Profile

Tâche #24574

Bac à idée #24650: Conteneur 2.7 : vérifier les problèmes apparmor

Eolebase + conteneur 2.7.0 : Impossible de démarrer le conteneur : mail

Added by Joël Cuissinat about 1 year ago. Updated 7 months ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
-
Target version:
-
Start date:
07/26/2018
Due date:
% Done:

0%

Remaining (hours):

Description

Tests squash avec et sans CD/ROM :
root@eolebase:~#  tail -n5 /var/log/lxc-mail.log
lxc-start mail 20180726144919.890 ERROR    lxc_lsm - lsm/lsm.c:lsm_process_label_set_at:167 - No such file or directory - Failed to set AppArmor label "lxc-container-default-with-cdrom" 
lxc-start mail 20180726144919.890 ERROR    lxc_apparmor - lsm/apparmor.c:apparmor_process_label_set:243 - No such file or directory - Failed to change apparmor profile to lxc-container-default-with-cdrom
lxc-start mail 20180726144919.890 ERROR    lxc_sync - sync.c:__sync_wait:57 - An error occurred in another process (expected sequence number 5)
lxc-start mail 20180726144919.937 ERROR    lxc_start - start.c:__lxc_start:1887 - Failed to spawn container "mail" 
lxc-start mail 20180726144919.937 ERROR    lxc_container - lxccontainer.c:wait_on_daemonized_start:834 - Received container state "ABORTING" instead of "RUNNING" 

Étrangement, c'est mieux après un reboot :

root@eolebase:~# lxc-status 
conteneur mail accessible


Related issues

Related to Distribution EOLE - Tâche #24490: Erreur Apparmor sur amonecole 2.7.0a7 Nouveau 06/25/2018

Associated revisions

Revision 795ab470 (diff)
Added by Joël Cuissinat 7 months ago

gen_conteneurs : force apparmor reload

Ref: #24574 [2.5.2]

History

#1 Updated by Joël Cuissinat about 1 year ago

  • Related to Tâche #24490: Erreur Apparmor sur amonecole 2.7.0a7 added

#2 Updated by Joël Cuissinat about 1 year ago

  • Description updated (diff)

#3 Updated by Joël Cuissinat about 1 year ago

C'est également mieux si on recharge apparmor avant gen_conteneurs :

root@eolebase:~# service apparmor reload

#4 Updated by Joël Cuissinat about 1 year ago

  • Parent task set to #24650

#5 Updated by Joël Cuissinat 7 months ago

Le même problème touche la 2.5.2 et vient d'être corrigé par eole-common:795ab470 !

http://jenkins.eole.lan/jenkins/job/2.5.2/job/test-eolebase-lxc-001-2.5.2-amd64/buildTimeTrend

Tests en rouge jusqu'à l'exécution n°61 du 26/02/2019.

Also available in: Atom PDF