View Issue Details

IDProjectCategoryView StatusLast Update
0000217bareos-corebatpublic2015-03-25 19:18
Reportermvwieringen Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformOpenIndianaOSOpenIndianaOS Versionb151a
Product Version12.4.4 
Summary0000217: BVFS reported a problem for <id>
DescriptionWhen using the brestore view in BAT you always are welcomed with the
above error message. It seems that the .bvfs_update command issues this error.
Steps To ReproduceSelect a single jobid in the brestore view in BAT after selecting a client.
TagsNo tags attached.

Activities

Iosidgh

Iosidgh

2013-09-24 18:18

reporter   ~0000675

I just set up a new machine with Debian Wheezy and Bareos 12.4.4, when i try to restore a backup in any variation via BAT i always get this error.
Would be great if this can be fixed ;)
AndiH

AndiH

2013-11-29 09:47

reporter   ~0000732

Confirmed. This must have creeped in some time ago as it is the case for the production system (now 13.2.2) and the latest testsystem. The restore seem to work fine despite the error message.
mvwieringen

mvwieringen

2014-01-12 21:39

developer   ~0000787

Fix committed to bareos bareos-12.4 branch with changesetid 1415.
mvwieringen

mvwieringen

2014-01-12 21:39

developer   ~0000788

Fix committed to bareos master branch with changesetid 1416.
mvwieringen

mvwieringen

2014-01-12 21:39

developer   ~0000789

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

mvwieringen

2015-03-25 16:51

developer   ~0001353

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

joergs

2015-03-25 19:18

developer   ~0001511

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 a09cbb8e

2014-01-12 21:30

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos: bareos-13.2 ca8fff52

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos: bareos-12.4 af749d51

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos2015: bareos-14.2 d00f6536

2014-01-12 22:30

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos2015: bareos-12.4 06276aef

2014-01-12 22:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos2015: bareos-13.2 56c180ee

2014-01-12 22:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

Issue History

Date Modified Username Field Change
2013-08-16 11:20 mvwieringen New Issue
2013-08-23 16:19 pstorz Assigned To => frank
2013-08-23 16:19 pstorz Status new => assigned
2013-09-24 18:18 Iosidgh Note Added: 0000675
2013-11-29 09:47 AndiH Note Added: 0000732
2014-01-12 21:39 mvwieringen Changeset attached => bareos bareos-12.4 af749d51
2014-01-12 21:39 mvwieringen Note Added: 0000787
2014-01-12 21:39 mvwieringen Assigned To frank => mvwieringen
2014-01-12 21:39 mvwieringen Status assigned => resolved
2014-01-12 21:39 mvwieringen Resolution open => fixed
2014-01-12 21:39 mvwieringen Changeset attached => bareos master a09cbb8e
2014-01-12 21:39 mvwieringen Note Added: 0000788
2014-01-12 21:39 mvwieringen Changeset attached => bareos bareos-13.2 ca8fff52
2014-01-12 21:39 mvwieringen Note Added: 0000789
2014-01-12 21:40 mvwieringen Status resolved => closed
2014-01-12 21:40 mvwieringen Assigned To mvwieringen =>
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-12.4 06276aef
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 56c180ee
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 d00f6536
2015-03-25 16:51 mvwieringen Note Added: 0001353
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001511
2015-03-25 19:18 joergs Status resolved => closed