View Issue Details

IDProjectCategoryView StatusLast Update
0000401bareos-corestorage daemonpublic2023-04-06 15:19
Reporterjoergs Assigned Tobruno-at-bareos  
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version12.04
Product Version14.2.2 
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.

Activities

bruno-at-bareos

bruno-at-bareos

2023-03-23 16:32

manager   ~0004943

Is this still reproducible with current code (Bareos >21) ?
bruno-at-bareos

bruno-at-bareos

2023-04-06 15:19

manager   ~0004964

Newer code doesn't use anymore this principle

Issue History

Date Modified Username Field Change
2015-01-21 16:26 joergs New Issue
2015-11-06 17:58 maik Priority normal => low
2015-11-06 17:58 maik Status new => acknowledged
2023-03-23 16:32 bruno-at-bareos Assigned To => bruno-at-bareos
2023-03-23 16:32 bruno-at-bareos Status acknowledged => feedback
2023-03-23 16:32 bruno-at-bareos Note Added: 0004943
2023-04-06 15:19 bruno-at-bareos Status feedback => closed
2023-04-06 15:19 bruno-at-bareos Resolution open => no change required
2023-04-06 15:19 bruno-at-bareos Note Added: 0004964