View Issue Details

IDProjectCategoryView StatusLast Update
0001393bareos-core[All Projects] directorpublic2021-11-10 10:03
Reporterjeffb255Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSanyOS Version3
Product Version19.2.11 
Fixed in Version 
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.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

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

developer   ~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

developer   ~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

developer   ~0004327

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

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