[solved]bacula - webgui config - bug?
-
Hello
pfsense version : 2.2.4
i installed the bacula package
in webgui , when you configue bacula-client in 'service/bacula-client', the bacula-fd.conf is not complete, and bacula client do a segmentation fault because bacula-fd.conf is incompletthe confi via webgui give :
Director {
Name = bacula-dir
Password = "xxxxxxxx"
}the real config need
Director , FileDaemon, Messagesthan the config file good is :
Director {
Name = bacula-dir
Password = "xxxx"
}FileDaemon {
Name = fw1-fd
FDport = 9102
WorkingDirectory = /tmp
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
FDAddress = ip or fqn
}Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}the 'file daemon ' seems not write the 'FileDaemon' zone in bacula-fd.conf
thank you for your help
pra
-
Segfault on bad configuration sounds like a quality software… ::) ;D
Sounds like you did not configure the FileDaemon at all.
https://github.com/pfsense/pfsense-packages/blob/master/config/bacula-client/bacula-client.inc#L117
if (!empty($LocalDirector)) { $baculaclient_conf .= "FileDaemon { \n\tName = {$LocalDirector}-fd #\n\tFDport = {$port}\n\tWorkingDirectory = /var/db/bacula\n\tPid Directory = /var/run\n\tMaximum Concurrent Jobs = {$jobs}\n}\n"; }
-
Ok thank you
-
Added a check for configured local director here (together with quite a bit of cleanup and fixes): https://github.com/pfsense/pfsense-packages/pull/1001
-
thank you
but i am not a specialist of git, how can i get your file
i use git clone but i don t have the changesthank you for your help
-
Not worth it in this case; just wait till it's merged in pfSense and upgrade the package.
-
Ok
thank you -
package upgraded
thank you