bareos-director segfault when using mysql

Bug #1595105 reported by EOLE team
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bareos (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This bug is a bareos bug and bareos dev team is aware of it :
https://groups.google.com/forum/#!topic/bareos-users/7_bTpp1DKCk

The problem is that libmysqlclient_r has been renamed to libmysqlclient.

 bareos-dir JobId 0: Error: Unable to load shared library: /usr/lib/bareos/backends/libbareoscats-mysql.so ERR=<NULL>
 bareos-dir ABORTING due to ERROR#012Unable to load any shared library for libbareoscats-mysql.so
 bareos-dir ABORTING due to ERROR
 Unable to load any shared library for libbareoscats-mysql.so
 BAREOS forced SEG FAULT to obtain traceback.
 BAREOS interrupted by signal 11: Segmentation violation

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bareos 14.2.6-3
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Wed Jun 22 11:26:48 2016
InstallationDate: Installed on 2016-05-26 (27 days ago)
InstallationMedia: EOLE 2.6-unstable "Xenial Xerus" - Release amd64 (20160513)
SourcePackage: bareos
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
EOLE team (eole-team) wrote :
description: updated
Revision history for this message
Evgeni Golov (evgeni) wrote :

The version in Yakkety is fixed, the patch for the Xenial one is here:
https://github.com/bareos/bareos/commit/053d08ab1089112ff44e611e028d401cc5b32b20

Should be easy to add it to the Xenial package, but I am not going to do so :)

Revision history for this message
EOLE team (eole-team) wrote :

Here is a patch against the 14.2.6 package to fix this issue.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Allow-libmysqlclient-instead-of-libmysqlclient_r.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
EOLE team (eole-team) wrote :

This is not sufficient, now the service starts but I have the following error:

    Unable to load any shared library for libbareoscats-mysql.so
    BAREOS interrupted by signal 11: Segmentation violation
    Kaboom! bareos-dir, bareos-dir got signal 11 - Segmentation violation. Attempting traceback.

Revision history for this message
EOLE team (eole-team) wrote :

To rebuild the package we need to regenerate the configure script
after patching db.m4, but here it fails with the message:

configure.in:372: the top level
autoreconf: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: cannot create ${BUILD_DIR}/autoconf: No such file or directory
libtoolize: error: cannot expand unknown variable in AC_CONFIG_AUX_DIR argument.
autoreconf: libtoolize failed with exit status: 1
dh_autoreconf: autoreconf -f -i autoconf returned exit code 1

Regards.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bareos (Ubuntu):
status: New → Confirmed
Changed in bareos (Ubuntu):
importance: Undecided → Medium
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.