Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633800 - app-backup/bareos-16.2.4 installs /etc/conf.d/bareos-* files that doesn't work
Summary: app-backup/bareos-16.2.4 installs /etc/conf.d/bareos-* files that doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-08 20:06 UTC by Anders Larsson
Modified: 2017-12-10 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

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