Bug 262151

Summary: sysutils/bareos-server: 21.0.0 /var/run/bareos pid files are missing
Product: Ports & Packages Reporter: Felicián Hoppál <feldeci>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Some People CC: feldeci
Priority: --- Flags: bugzilla: maintainer-feedback? (acm)
Version: Latest   
Hardware: Any   
OS: Any   

Description Felicián Hoppál 2022-02-23 15:16:11 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-03-06 20:21:28 UTC
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(-)
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2022-03-06 20:26:23 UTC
- it should be fixed right now. Thanks