View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001393 | bareos-core | director | public | 2021-10-12 22:38 | 2021-12-14 09:26 |
Reporter | jeffb255 | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 19.2.11 | ||||
Summary | 0001393: Please change the spaces in the filename to underscore, dash or remove the space. | ||||
Description | When deploying the director onto a linux system, the file Windows All Drives.conf is created in the /etc/bareos/bareos-dir.d/fileset directory. When trying to edit the file, the filename needs to be enclosed with quotation marks ("Windows_All_Drives.conf") or using a wildcard character (Windows*.conf). Can this be changed in the linux deployment to change the space or remove it? | ||||
Tags | No tags attached. | ||||
Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2667]: 12-Oct 19:18 bareos-dir: ERROR in lib/parse_conf.cc:308 Attempt to define second FileSet resource named Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2667]: bareos-dir: ERROR TERMINATION at lib/parse_conf_state_machine.cc:176 Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2667]: Config error: SaveResource failed Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2667]: : line 19, col 1 of file /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2667]: } Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2668]: 12-Oct 19:18 bareos-dir: ERROR in lib/parse_conf.cc:308 Attempt to define second FileSet resource named Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2668]: bareos-dir: ERROR TERMINATION at lib/parse_conf_state_machine.cc:176 Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2668]: Config error: SaveResource failed Oct 12 19:18:36 baroes-dir-16-dir bareos-dir[2668]: : line 19, col 1 of file /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf So I will rename it with _ in place of a space. |
|
The error you see is not related to the configuration filename. It look like you're trying to define a second time a fileset with the same name. it is absolutely fine to have this kind of file. Beware that renaming it for example as Windows_All_Drives.conf will confuse your package manager, it will not see installed the normal named "Windows All Drives.conf" and as such will install a newer copy and as such, will create a duplicate Fileset name if you didn't rename yours. |
|
Did you make any progress here ? Did you have any other feedback to share ? Can we close this ticket ? | |
Did you make any progress here ? Did you have any other feedback to share ? Can we close this ticket ? | |
As everything works as expected, nothing will be changed. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-12 22:38 | jeffb255 | New Issue | |
2021-10-13 01:22 | jeffb255 | Note Added: 0004304 | |
2021-10-13 15:08 | bruno-at-bareos | Note Added: 0004306 | |
2021-11-10 10:02 | bruno-at-bareos | Note Added: 0004326 | |
2021-11-10 10:03 | bruno-at-bareos | Note Added: 0004327 | |
2021-12-14 09:26 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2021-12-14 09:26 | bruno-at-bareos | Status | new => closed |
2021-12-14 09:26 | bruno-at-bareos | Resolution | open => won't fix |
2021-12-14 09:26 | bruno-at-bareos | Note Added: 0004392 |