Project

General

Profile

Anomalie #2096

Supprimer les erreurs au démarrage des conteneurs

Added by Emmanuel GARETTE (2) over 11 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
09/23/2011
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

Au démarrage du conteneur, il y a une série d'erreurs :

  • init: Processus hwclock-save main (132) terminé avec le status 1
  • init: Processus plymouth-splash main (142) terminé avec le status 1
  • init: Processus lxc pre-start (2) terminé avec le status 32

C'est plutôt gênant pour débugger (savoir si l'erreur est normal ou non).

Voici deux patchs pour corriger :

--- /root/lxc_install.sh    2011-09-22 21:53:40.000000000 +0200
+++ lxc_install.sh    2011-09-23 10:11:59.000000000 +0200
@@ -180,9 +180,7 @@

 task
 pre-start script
-mount -t proc proc /proc
 mount -t devpts devpts /dev/pts
-mount -t sysfs sys /sys
 mount -t tmpfs varrun /var/run
 mount -t tmpfs varlock /var/lock
 mkdir -p /var/run/network
--- /root/lxc_postinstall.sh    2011-09-23 10:10:52.000000000 +0200
+++ lxc_postinstall.sh    2011-09-23 10:28:36.000000000 +0200
@@ -29,4 +29,10 @@
 mkdir -p $ROOTFS/etc/eole
 cp -f /etc/eole/network_containers.conf $ROOTFS/etc/eole

+#No error in startup (#2096)
+NEVER_STARTUP='description    "Never start"\n\nstart on runlevel never'
+echo -e $NEVER_STARTUP > $ROOTFS/etc/init/hwclock-save.conf
+echo -e $NEVER_STARTUP > $ROOTFS/etc/init/plymouth.conf
+echo -e $NEVER_STARTUP > $ROOTFS/etc/init/plymouth-log.conf
+
 exit 0

Associated revisions

Revision ce14586a (diff)
Added by mithrandi almost 16 years ago

Make AutoJSPackage exclude dotfiles.

Fixes #2096
Author: mithrandi
Reviewer: exarkun

Revision feb9ee9f (diff)
Added by Joël Cuissinat over 11 years ago

lxc_install.sh, lxc_postinstall.sh : application du patch "Supprimer les erreurs au démarrage des conteneurs" (fixes #2096)

Revision c64b3d4e (diff)
Added by Johan Cwiklinski about 6 years ago

Check for emtpy time; fixes #2096

Revision 400638af (diff)
Added by Johan Cwiklinski about 6 years ago

Check for emtpy time; fixes #2096

History

#1 Updated by Joël Cuissinat over 11 years ago

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

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

  • Target version set to Mises à jour 2.3 - 02 RC

#3 Updated by Fabrice Barconnière over 11 years ago

  • Status changed from Résolu to Fermé
  • Distribution set to EOLE 2.3

Also available in: Atom PDF