post-install uses root-access to mysql without pass

Bug #65784 reported by Max Lindner
6
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bacula-director-mysql

When I try to install bacula-director-mysql, post-install fails because it tries to connect to the Database as root without password.

I guess this is not the way intended.

Maybe a interface to enter the root-pw of the MySQL would be better than let the post-install fail.

Or a hint that there is a SQL file which must be 'executed' before bacula-director is usable. I think letting post-install fail is the worst choice.

Revision history for this message
Ante Karamatić (ivoks) wrote :

This is fixed in Feisty. I'll test in on Dapper too.

Changed in bacula:
importance: Undecided → Medium
Revision history for this message
Ante Karamatić (ivoks) wrote :

I can't confirm this on dapper. What version of Ubuntu are you using?

Revision history for this message
TJ (tj) wrote :

This affects Gutsy too

Revision history for this message
TJ (tj) wrote :

I discovered that purging bacula-director-mysql and reinstalling solves the problem, as recommended in the Debian bug tracker

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441996

This is related to dpkg-reconfigure bacula-director-mysql failing to prompt for the MySQL administrator's password.

$ sudo apt-get --purge remove bacula-director-mysql
$ sudo apt-get install bacula-director-mysql

Revision history for this message
Ante Karamatić (ivoks) wrote :

This is fixed in Hardy.

Changed in bacula:
status: New → Triaged
Chuck Short (zulcss)
Changed in bacula:
status: Triaged → Fix Released
Revision history for this message
Robert Strickler (anomalyst) wrote :

found again in lucid. purge/install as recommended above does not resolve.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.