View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000265 | bareos-core | storage daemon | public | 2014-01-06 09:52 | 2015-03-25 19:18 |
Reporter | pstorz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 13.2.1 | ||||
Fixed in Version | 13.2.3 | ||||
Summary | 0000265: job hangs and cannot be terminated if spool file is not writable | ||||
Description | XXXXX 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. | ||||
Tags | No tags attached. | ||||
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. |
|
Fix committed to bareos bareos-13.2 branch with changesetid 1772. | |
Fix committed to bareos2015 bareos-14.2 branch with changesetid 4945. | |
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. |
|
bareos: master 9204714a 2014-01-06 11:43 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 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 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 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 |
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 |
|
Assigned To | pstorz => |
2014-05-16 17:15 |
|
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 |