View Issue Details

IDProjectCategoryView StatusLast Update
0000401bareos-core[All Projects] storage daemonpublic2015-11-06 17:58
ReporterjoergsAssigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
PlatformLinuxOSUbuntuOS Version12.04
Product Version14.2.2 
Fixed in Version 
Summary0000401: start script should check if all required libaries are available
DescriptionWhen starting bareos-sd, but have not all required libraries installed, results in a crash of bareos-sd.
However, this it not shown directly.

service bareos-sd start
shows no error.

It is visible in syslog as:
Jan 21 15:59:53 bareos-ci-ubuntu-14 bareos-sd: bareos-ci-ubuntu-14-sd ABORTING due to ERROR#012Unable to load any shared library for libbareossd-tape.so
Jan 21 15:59:53 bareos-ci-ubuntu-14 bareos-sd: BAREOS forced SEG FAULT to obtain traceback.
Jan 21 15:59:53 bareos-ci-ubuntu-14 bareos-sd: BAREOS interrupted by signal 11: Segmentation violation

It is also shown when start bareos-sd manually in foreground:

su bareos -s /bin/sh -c "/usr/sbin/bareos-sd -f"

It is not visible when not started in foreground (-f).

It is also not checked, when started with the test parameter -t.
Additional Information"bareos-sd -t" should test, if all required libraries are loadable.
Then this could be checked like in the bareos-director start scripts.
TagsNo tags attached.
bareos-master: impactyes
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impactyes
bareos-15.2: action
bareos-14.2: impactyes
bareos-14.2: actionnone
bareos-13.2: impactyes
bareos-13.2: actionnone
bareos-12.4: impactyes
bareos-12.4: actionnone

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-01-21 16:26 joergs New Issue
2015-05-27 13:49 joergs bareos-master: impact => yes
2015-05-27 13:49 joergs bareos-14.2: impact => yes
2015-05-27 13:49 joergs bareos-13.2: impact => yes
2015-05-27 13:49 joergs bareos-13.2: action => none
2015-05-27 13:49 joergs bareos-12.4: impact => yes
2015-05-27 13:49 joergs bareos-12.4: action => none
2015-11-06 17:58 maik bareos-15.2: impact => yes
2015-11-06 17:58 maik bareos-14.2: action => none
2015-11-06 17:58 maik Priority normal => low
2015-11-06 17:58 maik Status new => acknowledged