Bug 230123 - [update] sysutils/bareos-client fix default configuration location
Summary: [update] sysutils/bareos-client fix default configuration location
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: 2018-07-28 19:57 UTC by Radim Kolar
Modified: 2018-11-20 21:51 UTC (History)
0 users

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


Attachments
patch1 (563 bytes, patch)
2018-07-28 19:57 UTC, Radim Kolar
no flags Details | Diff
p2 (720 bytes, patch)
2018-07-28 19:58 UTC, Radim Kolar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Kolar 2018-07-28 19:57:22 UTC
Created attachment 195555 [details]
patch1

Default configuration for bareos-client does not work. It is set to etc/bareos/bareos-fd.conf which does not exists on new installs. New installs are using etc/bareos/bareos-fd.d/ directory.

configuration needs to be set to etc/bareos this will make work configuration file as well as configuration directory. Tested.

Bareos-dir and bareos-sd will have most likely same problem but i did not test them because i do not run them on BSD.
Comment 1 Radim Kolar 2018-07-28 19:58:03 UTC
Created attachment 195556 [details]
p2
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-20 21:50:15 UTC
A commit references this bug:

Author: acm
Date: Tue Nov 20 21:49:19 UTC 2018
New revision: 485488
URL: https://svnweb.freebsd.org/changeset/ports/485488

Log:
  - Update to 17.2.7
  - Add bareos-dir reload into rc script
  - Fix default configuration path
  - Some another modifications

  PR:		231551 221593 230123
  Submitted by:	rand __at__ iteris.com, hsn __at__ sendmail.cz

Changes:
  head/sysutils/bareos-client/Makefile
  head/sysutils/bareos-client-static/Makefile
  head/sysutils/bareos-docs/distinfo
  head/sysutils/bareos-server/Makefile
  head/sysutils/bareos-server/distinfo
  head/sysutils/bareos-server/files/bareos-dir.in
  head/sysutils/bareos-server/files/bareos-fd.in
  head/sysutils/bareos-server/files/bareos-sd.in
  head/sysutils/bareos-traymonitor/Makefile