Anomalie #2096
Supprimer les erreurs au démarrage des conteneurs
Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
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
Make AutoJSPackage exclude dotfiles.
Fixes #2096
Author: mithrandi
Reviewer: exarkun
lxc_install.sh, lxc_postinstall.sh : application du patch "Supprimer les erreurs au démarrage des conteneurs" (fixes #2096)
Check for emtpy time; fixes #2096
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
Appliqué par commit feb9ee9f37a9678fc18e71e6478db3af8b515828.
#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