View Issue Details

IDProjectCategoryView StatusLast Update
0000265bareos-corestorage daemonpublic2015-03-25 19:18
Reporterpstorz Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version13.2.1 
Fixed in Version13.2.3 
Summary0000265: job hangs and cannot be terminated if spool file is not writable
DescriptionXXXXX JobId 63238: Fatal error: Open data spool file /bacula_spool/XXXXX.data.63238.ASTERISK.2014-01-03_23.00.01_03.LTO-Drive-IBM-0.spool failed: ERR=Permission denied

This leads to a job that hangs and even cannot be canceled by "cancel storage= jobid="


Correctly, the job should be canceled when the spool directory cannot be written.
TagsNo tags attached.

Activities

mvwieringen

mvwieringen

2014-01-06 10:04

developer   ~0000780

The return value of begin_data_spool() is ignored in src/stored/append.c,
src/stored/mac.c and src/stored/ndmp_tape.c

When fixing this also check the return value of begin_attribute_spool()
in those same files as it has the same problem.
mvwieringen

mvwieringen

2014-05-16 17:14

developer   ~0000865

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

mvwieringen

2015-03-25 16:51

developer   ~0001409

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

joergs

2015-03-25 19:18

developer   ~0001562

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 9204714a

2014-01-06 11:43

pstorz

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos: bareos-13.2 88e4f457

2014-01-06 11:43

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos2015: bareos-13.2 49db247b

2014-01-06 12:43

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos2015: bareos-14.2 722a1ef4

2014-01-06 12:43

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

Issue History

Date Modified Username Field Change
2014-01-06 09:52 pstorz New Issue
2014-01-06 10:04 mvwieringen Note Added: 0000780
2014-01-06 10:04 mvwieringen Assigned To => pstorz
2014-01-06 10:04 mvwieringen Status new => assigned
2014-01-06 14:42 pstorz Changeset attached => bareos master 9204714a
2014-01-06 14:44 pstorz Status assigned => resolved
2014-01-06 14:44 pstorz Fixed in Version => 13.2.3
2014-01-06 14:44 pstorz Resolution open => fixed
2014-05-16 17:14 mvwieringen Changeset attached => bareos bareos-13.2 88e4f457
2014-05-16 17:14 mvwieringen Note Added: 0000865
2014-05-16 17:15 mvwieringen adm Assigned To pstorz =>
2014-05-16 17:15 mvwieringen adm Status resolved => closed
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 49db247b
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-14.2 722a1ef4
2015-03-25 16:51 mvwieringen Note Added: 0001409
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001562
2015-03-25 19:18 joergs Status resolved => closed