Bug#489578: bacula-director-mysql: mysql database configuration fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#489578: bacula-director-mysql: mysql database configuration fails

Chuck Williams-2
Package: bacula-director-mysql
Version: 2.2.8-8
Severity: normal

This is a repeat of bug 441995, which was archived and so cannot be reopened,
but still exists in bacula-mysql-director 2.2.8-8.

Specifically, automatic configuration of mysql fails due to an invalid
"Use ${db_name}" directive in /usr/share/dbconfig-common/data/bacula-director-mysql/install/mysql.
The workaround reported in bug #441995 Message #20, i.e. to simply comment out or remove
this Use directive resolves the issue.  The easiest path is to specify the debconf option
to skip the automatic configuration of mysql, then to modify the file above, then
to dpkg-reconfigure bacula-mysql-director, this time allowing it to configure mysql.

Chuck

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bacula-director-mysql depends on:
ii  bacula-director-common 2.2.8-8           network backup, recovery and verif
ii  dbconfig-common        1.8.38            common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.22            Debian configuration management sy
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgcc1                1:4.3.1-2         GCC support library
ii  libmysqlclient15off    5.0.51a-6         MySQL database client library
ii  libstdc++6             4.3.1-2           The GNU Standard C++ Library v3
ii  libwrap0               7.6.q-15          Wietse Venema's TCP wrappers libra
ii  mysql-client-5.0 [mysq 5.0.51a-6         MySQL database client binaries
ii  python2.4              2.4.5-2           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages bacula-director-mysql recommends:
ii  mysql-server                  5.0.51a-6  MySQL database server (meta packag
ii  mysql-server-5.0 [mysql-serve 5.0.51a-6  MySQL database server binaries

-- debconf information:
  bacula-director-mysql/passwords-do-not-match:
  bacula-director-mysql/mysql/admin-user: root
  bacula-director-mysql/dbconfig-upgrade: true
  bacula-director-mysql/purge: false
  bacula-director-mysql/remove-error: abort
  bacula-director-mysql/missing-db-package-error: abort
  bacula-director-mysql/remote/newhost:
  bacula-director-mysql/internal/skip-preseed: false
* bacula-director-mysql/dbconfig-install: true
  bacula-director-mysql/db/app-user: bacula
  bacula-director-mysql/upgrade-backup: true
  bacula-director-mysql/database-type: mysql
  bacula-director-mysql/install-error: abort
  bacula-director-mysql/db/dbname: bacula
  bacula-director-mysql/mysql/method: unix socket
  bacula-director-mysql/remote/host:
  bacula-director-mysql/internal/reconfiguring: false
  bacula-director-mysql/upgrade-error: abort
  bacula-director-mysql/dbconfig-reinstall: false
  bacula-director-mysql/remote/port:
  bacula-director-mysql/dbconfig-remove:



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]