View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000591 | bareos-core | director | public | 2016-01-06 09:25 | 2019-12-18 15:25 |
Reporter | pstorz | Assigned To | pstorz | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 15.2.2 | ||||
Summary | 0000591: config pretty-printer does not print filesets correctly | ||||
Description | The following fileset: ============================ FileSet { Name = "SKAppServerFileset" Include { Options { Exclude = yes Wild = "/var/www/*/public_html/WEB-INF/tmp/*" Wild = "/var/lib/postgresql/9.4/main/*" Wild = "/tmp/*" Wild = "/var/cache/apt/archives/*" Wild = "/var/lib/nginx/static-cache/*" } Options { Signature = SHA1 Compression = LZ4HC noatime = yes checkfilechanges = yes } File = / File = /dev } Exclude { File = /.journal File = /.fsck File = /.autofsck } } ============================ is printed in "show filesets" as: ============================ FileSet { Name = "SKAppServerFileset" Include { Options { Exclude = yes Wild = "/var/www/*/public_html/WEB-INF/tmp/*" Wild = "/var/lib/postgresql/9.4/main/*" Wild = "/tmp/*" Wild = "/var/cache/apt/archives/*" Wild = "/var/lib/nginx/static-cache/*" Signature = SHA1 Compression = LZ4HC NoAtime = Yes CheckFileChanges = yes } File = "/" File = "/dev" } Exclude { File = "/.journal" File = "/.fsck" File = "/.autofsck" } } ============================ the options blocks get merged which is not correct. However, the backup operation is done correctly, only the text representation is wrong. | ||||
Tags | No tags attached. | ||||
Fix committed to bareos master branch with changesetid 6052. | |
Fix committed to bareos bareos-14.2 branch with changesetid 6413. | |
bareos: master 2975943b 2016-01-06 14:03 Ported: N/A Details Diff |
dird: Fix pretty printing of Options blocks. Print Options inside the for loop and also close it there. Fixes 0000591: config pretty-printer does not print filesets correctly |
Affected Issues 0000591 |
|
mod - src/dird/dird_conf.c | Diff File | ||
bareos: bareos-14.2 41fb810b 2016-01-06 14:03 Ported: N/A Details Diff |
dird: Fix pretty printing of Options blocks. Print Options inside the for loop and also close it there. Fixes 0000591: config pretty-printer does not print filesets correctly |
Affected Issues 0000591 |
|
mod - src/dird/dird_conf.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-06 09:25 | pstorz | New Issue | |
2016-01-06 09:25 | pstorz | Assigned To | => pstorz |
2016-01-06 09:25 | pstorz | Status | new => acknowledged |
2016-01-07 19:44 | mvwieringen | Changeset attached | => bareos master 2975943b |
2016-01-07 19:44 | mvwieringen | Note Added: 0002074 | |
2016-01-07 19:44 | mvwieringen | Status | acknowledged => resolved |
2016-01-07 19:44 | mvwieringen | Resolution | open => fixed |
2016-07-05 11:49 | joergs | Relationship added | child of 0000584 |
2016-07-08 14:34 | mvwieringen | Changeset attached | => bareos bareos-14.2 41fb810b |
2016-07-08 14:34 | mvwieringen | Note Added: 0002309 | |
2019-12-18 15:25 | arogge | Status | resolved => closed |