Projet

Général

Profil

Tâche #15198

Distribution EOLE - Scénario #14967: Traitement express (07-09)

Erreur au lancement de bat.conf

Ajouté par Eric Renoult il y a environ 8 ans. Mis à jour il y a environ 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
26/02/2016
Echéance:
% réalisé:

100%

Temps estimé:
1.00 h
Temps passé:
Restant à faire (heures):
0.0

Description

Erreur au lancement de bat.conf
La variable du mot de passe du directeur ne passe pas.
Password = "@bareos_dir_password@"

La saisie en dur du mot de passe du director fonctionne

bat.conf.patch Voir (328 octets) Emmanuel GARETTE, 01/03/2016 12:06

Révisions associées

Révision e21152a4 (diff)
Ajouté par Emmanuel GARETTE il y a environ 8 ans

conversion du template tmpl/bat.conf au format 2.4 (ref #15198 @1h)

Révision 08932ce5 (diff)
Ajouté par Daniel Dehennin il y a environ 8 ans

Ne pas templatiser bat.conf si bareos est désactivé

Ref: #15198

Historique

#1 Mis à jour par Gérald Schwartzmann il y a environ 8 ans

  • Sujet changé de lancement de bat.conf à Erreur au lancement de bat.conf

#2 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • Assigné à mis à Emmanuel GARETTE
  • Tâche parente mis à #14967

#3 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

Errata

Le mot de passe n'est pas bien spécifier dans le fichier de configuration de BAT.

Pour corriger le problème, il faut ajouter le patch suivant bat.conf.patch.

Ce problème est résolu dans la version 2.5.2.

#4 Mis à jour par Emmanuel GARETTE il y a environ 8 ans

  • % réalisé changé de 0 à 100
  • Temps estimé mis à 1.00 h
  • Restant à faire (heures) mis à 0.25

#5 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de Nouveau à En cours

#6 Mis à jour par Scrum Master il y a environ 8 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Joël Cuissinat il y a environ 8 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) changé de 0.25 à 0.0
root@scribe:~# CreoleGet  activer_bareos_dir
oui
root@scribe:~# CreoleCat -dt bat.conf
Instanciation du fichier '/etc/bareos/bat.conf' depuis '/var/lib/creole/bat.conf'
Copie du template '/usr/share/eole/creole/distrib/bat.conf' vers '/var/lib/creole'
Traitement Cheetah : '/var/lib/creole/bat.conf' vers '/etc/bareos/bat.conf'
Changement des propriétés : chown root:root /etc/bareos/bat.conf
Changement des propriétés : chmod 0644 /etc/bareos/bat.conf

root@scribe:~# CreoleSet activer_bareos_dir non
root@scribe:~# CreoleCat -dt bat.conf
root - Fichier template inexistant: bat.conf
Traceback (most recent call last):
  File "/usr/bin/CreoleCat", line 142, in main
    " {0}".format(options.template))
CreoleClientError: Fichier template inexistant: bat.conf

Formats disponibles : Atom PDF