After upgrading to 21.0.0 the pid files in /var/run/bareos are missing. It's not possible to restart the dir, sd or even the fd. bareos_fd not running? (check /var/run/bareos/bareos-fd.9102.pid). bareos_sd not running? (check /var/run/bareos/bareos-sd.9103.pid). bareos_dir not running? (check /var/run/bareos/bareos-dir.9101.pid). # ps xa |grep bareos 1222 - Ss 0:54.90 /usr/local/sbin/bareos-fd -u root -g wheel -v -c /usr/local/etc/bareos/bareos-fd.conf 1282 - Ss 64:55.19 /usr/local/sbin/bareos-sd -u bareos -g bareos -v -c /usr/local/etc/bareos/bareos-sd.conf 24819 - Ss 0:00.19 /usr/local/sbin/bareos-dir -u bareos -g bareos -v -c /usr/local/etc/bareos/bareos-dir.conf
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d4d8e581b5f761ab8d32dd76d9f3a8f6d4e467e commit 5d4d8e581b5f761ab8d32dd76d9f3a8f6d4e467e Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2022-03-06 20:17:48 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2022-03-06 20:17:48 +0000 sysutils/bareos*: Fix build - Fix build - Fix issue where pid file is missing [1] - Bump PORTREVISION PR: 262151 Reported by: feldeci _at_ gmail.com [1] sysutils/bareos-server/Makefile | 2 +- sysutils/bareos-server/files/bareos-dir.in | 2 +- sysutils/bareos-server/files/bareos-fd.in | 2 +- sysutils/bareos-server/files/bareos-sd.in | 2 +- .../files/patch-core-src-stored_CMakelists.txt (new) | 20 ++++++++++++++++++++ sysutils/bareos18-server/Makefile | 2 +- .../files/patch-core-src-stored_CMakeLists.txt | 11 ++++++----- sysutils/bareos19-server/Makefile | 2 +- .../files/patch-core-src-stored_CMakeLists.txt | 6 +++--- 9 files changed, 35 insertions(+), 14 deletions(-)
- it should be fixed right now. Thanks