Tâche #13965
Distribution EOLE - Scénario #13756: Assistance aux utilisateurs (45-47)
Le fichier /etc/logrotate.d/bareos-dir n'est pas pris en compte
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
root@scribe:~# logrotate -df /etc/logrotate.conf reading config file /etc/logrotate.conf including /etc/logrotate.d reading config file 00-eole-options [ ... ] reading config file bareos-common Ignoring bareos-dir because of bad file mode. reading config file clamav-daemon
C'est effectivement le seul fichier exécutable du répertoire :
root@scribe:~# ll /etc/logrotate.d/bareos-dir -rwxr-xr-x 1 root root 312 sept. 18 16:15 /etc/logrotate.d/bareos-dir*
Il est fourni par le paquet bareos-director recompilé par nos soins
root@scribe:~# dpkg -S /etc/logrotate.d/bareos-dir bareos-director: /etc/logrotate.d/bareos-dir
Associated revisions
Correction des droits pour les installation existantes de bareos-dir
Si le fichier /etc/logrotate.d/bareos-dir existe déjà la mise à jour n'y touche pas.
Afin qu'il ai les bons droits on teste si il a le +x et on lui enlève.
ref #13965 @20m
History
#1 Updated by Scrum Master almost 8 years ago
- Assigned To set to Philippe Caseiro
#2 Updated by Philippe Caseiro almost 8 years ago
- Tracker changed from Demande to Tâche
- Estimated time set to 1.00 h
- Parent task set to #13756
- Remaining (hours) set to 1.0
#3 Updated by Philippe Caseiro almost 8 years ago
- Status changed from Nouveau to En cours
#4 Updated by Philippe Caseiro almost 8 years ago
Correction dans le commit bareos|a98268e
#5 Updated by Philippe Caseiro almost 8 years ago
- Remaining (hours) changed from 1.0 to 0.1
#6 Updated by Scrum Master almost 8 years ago
- Status changed from En cours to Résolu
#7 Updated by Joël Cuissinat almost 8 years ago
- Status changed from Résolu to Fermé
- % Done changed from 0 to 100
- Remaining (hours) changed from 0.1 to 0.0
Le paquet bareos-director 14.2.1+20141017-2-8 corrige bien le problème :
root@scribe:~# ll /etc/logrotate.d/bareos-dir -rw-r--r-- 1 root root 312 sept. 18 16:15 /etc/logrotate.d/bareos-dir