Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 633800

Summary: app-backup/bareos-16.2.4 installs /etc/conf.d/bareos-* files that doesn't work
Product: Gentoo Linux Reporter: Anders Larsson <anders.gentoo>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anders Larsson 2017-10-08 20:06:25 UTC
New installations of of >=app-backup/bareos-16.2 will fail to start without additional configuration or changes to /etc/conf.d/bareos-* since the configuration files specified (with -c) doesn't exist.

Reproducible: Always

Steps to Reproduce:
1. Install >=app-backup/bareos-16.2 for the first time
2. (Configure service)
3. Start service
Actual Results:  
Service fails to start since it's unable to find configuration files defined by {DIR,FD,SD}_OPTIONS in /etc/conf.d/bareos-*.

Expected Results:  
Service should start successfully.

Change introduced in Bareos version 16.2

More information can be found here https://groups.google.com/forum/#!topic/bareos-users/4Oz27nm5pOY.

It seems like the service will still load /etc/bareos/bareos-{dir,fd,sd}.conf first if any of them exists.
Comment 1 Marc Schiffbauer gentoo-dev 2017-12-10 22:38:40 UTC
Thanks for reporting! I fixed it in app-backup/bareos-16.2.7 by removing "-c ..." from the conf.d files alltogether