Tâche #14933
Scénario #14728: Corriger les problèmes remontés sur Upgrade-Auto lors du sprint précédent
L'Upgrade ne purge pas les paquets bacula et si on les purge après coup on a des probèmes
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Pour reproduire avec Horus 2.4.2, j'ai fait :
Upgrade-Auto
root@horus:~# dpkg -l | grep bacula
=> 8 paquets en état rcapt-get remove --purge bacula-common bacula-common-sqlite3 bacula-console bacula-director-common bacula-director-sqlite3 bacula-fd bacula-sd eole-bacula
reboot
gen_config
instance
run-parts: executing /usr/share/eole/posttemplate/00-bareos instance ## Régénération du catalogue Bareos## Warning: failed to get "dbname" from config, using default value "bareos", see /tmp/bareos-config.6659.log Warning: failed to get "dbuser" from config, using default value "bareos", see /tmp/bareos-config.6659.log Warning: failed to get "dbdriver" from config, see /tmp/bareos-config.6659.log Creating mysql database ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Creating of bareos database failed. Warning: failed to get "dbname" from config, using default value "bareos", see /tmp/bareos-config.6690.log Warning: failed to get "dbuser" from config, using default value "bareos", see /tmp/bareos-config.6690.log Warning: failed to get "dbdriver" from config, see /tmp/bareos-config.6690.log Making mysql tables Warning: failed to get "dbpassword" from config, see /tmp/bareos-config.6690.log ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Creation of Bareos MySQL tables failed. Régénération du catalogue terminée Suppression des anciens rapports d'état
Dans /etc/bareos/bareosfichiers.d on retrouve des configurations de la 2.4 :
root@horus:/etc/bareos# rgrep bacula * bareosfichiers.d/ead.conf: @/etc/bacula/include-options.conf bareosfichiers.d/annuaire.conf: @/etc/bacula/include-options.conf
Associated revisions
Gestion de la désinstallation des paquets bacula
- upgrade/pre_download/01-bacula : suppression des anciennes configurations
- upgrade/post_upgrade/01-bacula : purge des paquets si nécessaire
Ref: #14933 @1.5h
History
#1 Updated by Joël Cuissinat over 7 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#2 Updated by Joël Cuissinat over 7 years ago
- Status changed from Nouveau to En cours
#3 Updated by Joël Cuissinat over 7 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.5
=> creole 2.4.2-21
#4 Updated by Scrum Master over 7 years ago
- Status changed from En cours to Résolu
#5 Updated by Laurent Flori over 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0