Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648734 - app-backup/bareos-16.2.7 should set CONFIG_PROTECT=/etc/bareos
Summary: app-backup/bareos-16.2.7 should set CONFIG_PROTECT=/etc/bareos
Status: RESOLVED OBSOLETE
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: 2018-02-24 22:12 UTC by Anders Larsson
Modified: 2020-03-03 14:48 UTC (History)
0 users

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


Attachments
emerge --info - Workstation (emergeinfo-client1.txt,5.33 KB, text/plain)
2018-05-03 16:43 UTC, Anders Larsson
Details
emerge --info - Server (client to bareos) (emergeinfo-client2.txt,4.77 KB, text/plain)
2018-05-03 16:44 UTC, Anders Larsson
Details
emerge --info - Director (emergeinfo-director.txt,4.79 KB, text/plain)
2018-05-03 16:44 UTC, Anders Larsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Larsson 2018-02-24 22:12:35 UTC
Every time app-backup/bareos is re-merged it fails to protect any files in /etc/bareos (at least while on clients). Because of this the contents of /etc/bareos/bareos-fd.d/director/bareos-dir.conf, which contains the credentials for the BareOS Director, gets overwritte Because of this every time app-backup/bareos is re-merged BareOS needs to be reconfigured for to ensure backups can be made successfully.

Steps to reproduce:
* emerge -1 app-backup/bareos
* A new password will generated for /etc/bareos/bareos-fd.d/director/bareos-dir.conf and replace the previous one
* Backups fail after service restart
Comment 1 Marc Schiffbauer gentoo-dev 2018-05-03 07:48:04 UTC
The ebuild does not mess with CONFIG_PROTECT at all, so I assume your setup does.

Please post 'emerge --config' froma system where that happens.

TIA
Comment 2 Anders Larsson 2018-05-03 16:43:49 UTC
Created attachment 529612 [details]
emerge --info - Workstation
Comment 3 Anders Larsson 2018-05-03 16:44:25 UTC
Created attachment 529614 [details]
emerge --info - Server (client to bareos)
Comment 4 Anders Larsson 2018-05-03 16:44:50 UTC
Created attachment 529616 [details]
emerge --info - Director
Comment 5 Marc Schiffbauer gentoo-dev 2020-03-03 07:27:47 UTC
Did you have this problem with newer versions as well?
If yes please repoen this bug and I will update it.


TIA
Comment 6 Anders Larsson 2020-03-03 14:48:43 UTC
Hi,

You can close this issue since I'm no longer using Bareos and have not for a while.

Thanks.