Bug 217141 - sysutils/bareos-server 16.2.4_1 Wrong bareos_dir_config in rc.d/bareos-dir
Summary: sysutils/bareos-server 16.2.4_1 Wrong bareos_dir_config in rc.d/bareos-dir
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-16 14:33 UTC by weberge42
Modified: 2017-04-21 17:55 UTC (History)
0 users

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 weberge42 2017-02-16 14:33:30 UTC
from /usr/local/etc/rc.d/bareos-dir:

: ${bareos_dir_config="/usr/local/etc/bareos/bareos-dir.d"}

This seems to be wrong because bareos-dir then tries to load files from

/usr/local/etc/bareos/bareos-dir.d/bareos-dir.d
instead of
/usr/local/etc/bareos/bareos-dir.d

Or do i get anything wrong ?

thanks
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-04-21 17:48:06 UTC
A commit references this bug:

Author: acm
Date: Fri Apr 21 17:47:39 UTC 2017
New revision: 439102
URL: https://svnweb.freebsd.org/changeset/ports/439102

Log:
  - Fix rc script
  - Set default config file to %%PREFIX%%/etc/bareos/bareos-[dir|sd|fd].conf
    files. Set %%PREFIX%%/etc/bareos if you want to use new config style
  - Remove config file test on bareos-dir rc script. It fixed a problem on
    start/boot

  PR:		218126 217141
  Reported by:	Joakim Jalap <joakim.jalap at fastmail.com>
  		matthias at petermann-it.de
  		weberge42

Changes:
  head/sysutils/bareos-client/Makefile
  head/sysutils/bareos-client-static/Makefile
  head/sysutils/bareos-server/Makefile
  head/sysutils/bareos-server/files/bareos-dir.in
  head/sysutils/bareos-server/files/bareos-fd.in
  head/sysutils/bareos-server/files/bareos-sd.in
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2017-04-21 17:55:51 UTC
Please, check the lastest commit to bareos ports. Thanks!