Bug 262151 - sysutils/bareos-server: 21.0.0 /var/run/bareos pid files are missing
Summary: sysutils/bareos-server: 21.0.0 /var/run/bareos pid files are missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-23 15:16 UTC by Felicián Hoppál
Modified: 2022-03-06 20:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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