Projet

Général

Profil

Anomalie #5031

Pb démarrage du service bastion

Ajouté par Fabrice Barconnière il y a environ 11 ans. Mis à jour il y a presque 11 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Catégorie:
-
Début:
Echéance:
22/03/2013
% réalisé:

100%

Distribution:
EOLE 2.3

Description

Pb constaté sur version EOLE 2.3 (2.3.8 RC).

Le service bastion ne démarre pas après reboot.

Si on modifie le fichier /etc/network/interfaces comme suit :

post-up /usr/sbin/service rsyslog restart || true
post-up /etc/init.d/bastion restart

le service bastion démarre à tous les coups !
En ajoutant || true,on est sure d’exécuter la 2ème commande.

Extrait du manpage interfaces :

IFACE OPTIONS
The following "command" options are available for every family and
method. Each of these options can be given multiple times in a single
stanza, in which case the commands are executed in the order in which
they appear in the stanza. (You can ensure a command never fails by
suffixing "|| true".)

A savoir pourquoi le redémarrage de rsyslog a été ajouté dans ce fichier ?
S'il est vraiment nécessaire, alors il faudrait corriger le fichier en ajoutant un ligne 'post-up /bin/sleep 5' avant les autres.


Demandes liées

Lié à eole-common - Anomalie #5102: La variable PATH ne contient pas toujours les bonnes valeurs à l'appel de restart-wrapper. Fermé 29/03/2013
Lié à eole-common - Tâche #5897: creole_serv non fonctionnel après reboot Fermé 09/10/2014 20/06/2014
Duplique eole-common - Anomalie #5027: Pb démarrage du service bastion Fermé 11/03/2013 15/03/2013

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 11 ans

  • Echéance 15/03/2013 supprimé
  • Début 11/03/2013 supprimé

#2 Mis à jour par Benjamin Bohard il y a environ 11 ans

  • Statut changé de Accepté à Fermé
  • % réalisé changé de 0 à 100

Le commit référence la demande #5027 (538c9ce51b587c043a3f48bbded9e7225e0cc1be).

Utilisation de restart-wrapper pour (re)démarrer rsyslog.

#3 Mis à jour par Fabrice Barconnière il y a presque 11 ans

  • Echéance mis à 22/03/2013

Formats disponibles : Atom PDF