View Issue Details

IDProjectCategoryView StatusLast Update
0001393bareos-coredirectorpublic2021-12-14 09:26
Reporterjeffb255 Assigned Tobruno-at-bareos  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionwon't fix 
PlatformLinuxOSanyOS Version3
Product Version19.2.11 
Summary0001393: Please change the spaces in the filename to underscore, dash or remove the space.
DescriptionWhen 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?
TagsNo tags attached.

Activities

jeffb255

jeffb255

2021-10-13 01:22

reporter   ~0004304

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.
bruno-at-bareos

bruno-at-bareos

2021-10-13 15:08

manager   ~0004306

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.
bruno-at-bareos

bruno-at-bareos

2021-11-10 10:02

manager   ~0004326

Did you make any progress here ? Did you have any other feedback to share ? Can we close this ticket ?
bruno-at-bareos

bruno-at-bareos

2021-11-10 10:03

manager   ~0004327

Did you make any progress here ? Did you have any other feedback to share ? Can we close this ticket ?
bruno-at-bareos

bruno-at-bareos

2021-12-14 09:26

manager   ~0004392

As everything works as expected, nothing will be changed.

Issue History

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