|
| 1 | +# Release Notes for OX Abuse Shield 2.6.1 |
| 2 | + |
| 3 | +## Bug Fixes/Changes |
| 4 | + |
| 5 | +* Fix issue where wforce was complaining about not being able to create tmp file on startup |
| 6 | +* Fix timing issue whereby the webserver was not started before syncDB leading to syncDone failures |
| 7 | +* Use debian bullseye-slim in wforce docker image to save over 100MB in image size |
| 8 | +* Fix issue in wforce docker image where the default config file was overriden with a volume mount but not used |
| 9 | + |
| 10 | +## Fix Wforce complaint about not being able to create temporary files on startup |
| 11 | + |
| 12 | +Wforce 2.6.x uses an HTTP library which creates temporary directories for file upload on startup, |
| 13 | +by default in the current working directory, which for wforce is the config directory. For packaged |
| 14 | +installation of wforce, this is /etc/wforce, which is typically not writable by wforce itself, leading |
| 15 | +to errors. This fix changes the directory for those temporary files to /tmp/wforce. |
| 16 | + |
| 17 | +## Fix timing issue with webserver and syncDB |
| 18 | + |
| 19 | +In rare cases when starting up, the syncDB command may start, replicate from another wdforce instance, |
| 20 | +and complete, before the webserver had finished initializing. This would cause the syncDone command from |
| 21 | +the other wforce instance to fail. This fix forces wforce to wait until the webserver is ready before |
| 22 | +starting the syncDB checks. |
| 23 | + |
| 24 | +## Fix issue in wforce docker image where the default config file was overriden by a volume mount by not used |
| 25 | + |
| 26 | +The wforce docker image documentation states that a volume mount can be used to specify a custom config file |
| 27 | +in /etc/wforce/wforce.conf, however this was not actually the case. The file was only used if the environment |
| 28 | +variable WFORCE_CONFIG_FILE was also set, which is incorrect, because that variable is only supposed to be used |
| 29 | +to specify a *new* location for the config file. This fix ensures that whenever a volume mount correctly |
| 30 | +mounts a custom /etc/wforce/wforce.conf file, it is both used, and a log message is output stating that it |
| 31 | +is being used. |
0 commit comments