View Issue Details

IDProjectCategoryView StatusLast Update
0000286bareos-coredirectorpublic2015-03-25 19:18
Reporterpstorz Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version13.2.3 
Summary0000286: Alter the startscripts to run the daemons with -t before starting them
DescriptionThis will help to check the configuration before we actually start the daemons, because we do not always get good error messages on fatal errors.
TagsNo tags attached.

Activities

joergs

joergs

2014-03-17 18:00

developer   ~0000831

when using postgres and ident (default), bareos-dir -t must run as user bareos. Otherwise access is denied.
pstorz

pstorz

2014-03-19 13:02

administrator   ~0000832

This is only really needed for the director, as the other daemons print out problems right when starting already with the existing startscripts.
mvwieringen

mvwieringen

2014-03-19 15:28

developer   ~0000833

Fix committed to bareos master branch with changesetid 1585.
mvwieringen

mvwieringen

2014-03-26 16:50

developer   ~0000838

Fix committed to bareos bareos-13.2 branch with changesetid 1608.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001411

Fix committed to bareos2015 bareos-14.2 branch with changesetid 4870.
joergs

joergs

2015-03-25 19:18

developer   ~0001561

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: master 28d604a2

2014-03-19 13:11

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check cfg and db conn before startup of director

We now use the possibilty to check the configuration
and database connection on startup of the director before
we really startup the daemon so that we get direct
feedback if something is wrong.

Before, we did not get any feedback because the director
forked so problems only were visible in the logfile.

Without systemd, we get the output directly, with systemd we
need to call "systemctl status bareos-dir.service"

Fixes 0000286: Alter the startscripts to run the daemons with -t before starting them

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000286
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File

bareos: bareos-13.2 e52dd29a

2014-03-19 13:11

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check cfg and db conn before startup of director

We now use the possibilty to check the configuration
and database connection on startup of the director before
we really startup the daemon so that we get direct
feedback if something is wrong.

Before, we did not get any feedback because the director
forked so problems only were visible in the logfile.

Without systemd, we get the output directly, with systemd we
need to call "systemctl status bareos-dir.service"

Fixes 0000286: Alter the startscripts to run the daemons with -t before starting them

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000286
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File

bareos2015: bareos-13.2 72d84e11

2014-03-19 14:11

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check cfg and db conn before startup of director

We now use the possibilty to check the configuration
and database connection on startup of the director before
we really startup the daemon so that we get direct
feedback if something is wrong.

Before, we did not get any feedback because the director
forked so problems only were visible in the logfile.

Without systemd, we get the output directly, with systemd we
need to call "systemctl status bareos-dir.service"

Fixes 0000286: Alter the startscripts to run the daemons with -t before starting them

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000286
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File

bareos2015: bareos-14.2 7b737917

2014-03-19 14:11

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check cfg and db conn before startup of director

We now use the possibilty to check the configuration
and database connection on startup of the director before
we really startup the daemon so that we get direct
feedback if something is wrong.

Before, we did not get any feedback because the director
forked so problems only were visible in the logfile.

Without systemd, we get the output directly, with systemd we
need to call "systemctl status bareos-dir.service"

Fixes 0000286: Alter the startscripts to run the daemons with -t before starting them

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000286
mod - platforms/debian/bareos-dir.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File

Issue History

Date Modified Username Field Change
2014-03-17 16:42 pstorz New Issue
2014-03-17 16:42 pstorz Status new => assigned
2014-03-17 16:42 pstorz Assigned To => pstorz
2014-03-17 18:00 joergs Note Added: 0000831
2014-03-19 13:02 pstorz Note Added: 0000832
2014-03-19 15:28 mvwieringen Changeset attached => bareos master 28d604a2
2014-03-19 15:28 mvwieringen Note Added: 0000833
2014-03-19 15:28 mvwieringen Assigned To pstorz => mvwieringen
2014-03-19 15:28 mvwieringen Status assigned => resolved
2014-03-19 15:28 mvwieringen Resolution open => fixed
2014-03-19 15:29 mvwieringen adm Summary Alter the startskripts to run the daemons with -t before starting them => Alter the startscripts to run the daemons with -t before starting them
2014-03-26 16:50 mvwieringen Changeset attached => bareos bareos-13.2 e52dd29a
2014-03-26 16:50 mvwieringen Note Added: 0000838
2014-05-16 17:21 mvwieringen adm Assigned To mvwieringen =>
2014-05-16 17:21 mvwieringen adm Status resolved => closed
2014-05-16 17:21 mvwieringen adm Fixed in Version => 13.2.3
2014-05-16 17:21 mvwieringen adm Product Version 13.2.3 => 13.2.2
2014-05-16 17:24 joergs Assigned To => mvwieringen
2014-05-16 17:24 joergs Product Version 13.2.2 => 13.2.3
2014-05-16 17:24 joergs Fixed in Version 13.2.3 =>
2014-05-16 17:24 joergs Assigned To mvwieringen =>
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 72d84e11
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 7b737917
2015-03-25 16:51 mvwieringen Note Added: 0001411
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001561
2015-03-25 19:18 joergs Status resolved => closed