[Bug 1570923] Re: bacula-dir won't start with "undefined symbol: mysql_init"

Nish Aravamudan nish.aravamudan at canonical.com
Fri Jun 24 22:54:33 UTC 2016


Please test the potential fix version at:

https://launchpad.net/~nacc/+archive/ubuntu/bacula

Which results in 7.4.1~dfsg-1ubuntu1~ppa1 on yakkety or
7.4.1~dfsg-1.1~ppa8.is.actually.7.0.5+dfsg-4.1~ppa2 on xenial.

** Description changed:

- 1. Ubuntu release : 
+ [Impact]
+ 
+  * bacula-dir fails to start after installation.
+ 
+ [Test Case]
+ 
+  * Install bacula-director-mysql after installing mysql-server. bacula-
+ dir fails to start (and the installation fails).
+ 
+  * In a successful case, the bacula-dir process will start (and be
+ running after installation).
+ 
+ [Regression Potential]
+ 
+  * The fix for this is to backport an upstream fix that changes the
+ build to not use libmysqlclient_r.* files (which are no longer shiipped
+ with MySQL 5.7). The regression potential should be low, as bacula-dir
+ currently does not start at all.
+ 
+ 1. Ubuntu release :
  Description:    Ubuntu Xenial Xerus (development branch)
  Release:        16.04
  
  2. Version of package
  bacula-director-mysql:
-   Installed: 7.0.5+dfsg-4build1
-   Candidate: 7.0.5+dfsg-4build1
-   Version table:
-  *** 7.0.5+dfsg-4build1 500
-         500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 7.0.5+dfsg-4build1
+   Candidate: 7.0.5+dfsg-4build1
+   Version table:
+  *** 7.0.5+dfsg-4build1 500
+         500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
+         100 /var/lib/dpkg/status
  
  3. Expectation : bacula-dir should start
  
  4. bacula-dir did not start because of :
  
  root at xenial:~# bacula-dir -d 99
  bacula-dir: dird.c:194-0 Debug level = 99
- bacula-dir: address_conf.c:264-0 Initaddr 0.0.0.0:9101 
+ bacula-dir: address_conf.c:264-0 Initaddr 0.0.0.0:9101
  root at xenial:~# bacula-dir: dir_plugins.c:148-0 Load dir plugins
  bacula-dir: dir_plugins.c:150-0 No dir plugin dir!
  bacula-dir: symbol lookup error: /usr/lib/bacula/libbaccats-7.0.5.so: undefined symbol: mysql_init

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1570923

Title:
  bacula-dir won't start with "undefined symbol: mysql_init"

Status in Bacula:
  New
Status in bacula package in Ubuntu:
  Triaged
Status in bacula source package in Xenial:
  Triaged

Bug description:
  [Impact]

   * bacula-dir fails to start after installation.

  [Test Case]

   * Install bacula-director-mysql after installing mysql-server.
  bacula-dir fails to start (and the installation fails).

   * In a successful case, the bacula-dir process will start (and be
  running after installation).

  [Regression Potential]

   * The fix for this is to backport an upstream fix that changes the
  build to not use libmysqlclient_r.* files (which are no longer
  shiipped with MySQL 5.7). The regression potential should be low, as
  bacula-dir currently does not start at all.

  1. Ubuntu release :
  Description:    Ubuntu Xenial Xerus (development branch)
  Release:        16.04

  2. Version of package
  bacula-director-mysql:
    Installed: 7.0.5+dfsg-4build1
    Candidate: 7.0.5+dfsg-4build1
    Version table:
   *** 7.0.5+dfsg-4build1 500
          500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status

  3. Expectation : bacula-dir should start

  4. bacula-dir did not start because of :

  root at xenial:~# bacula-dir -d 99
  bacula-dir: dird.c:194-0 Debug level = 99
  bacula-dir: address_conf.c:264-0 Initaddr 0.0.0.0:9101
  root at xenial:~# bacula-dir: dir_plugins.c:148-0 Load dir plugins
  bacula-dir: dir_plugins.c:150-0 No dir plugin dir!
  bacula-dir: symbol lookup error: /usr/lib/bacula/libbaccats-7.0.5.so: undefined symbol: mysql_init

To manage notifications about this bug go to:
https://bugs.launchpad.net/bacula/+bug/1570923/+subscriptions



More information about the Ubuntu-sponsors mailing list