Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405437 - sys-cluster/maui-3.3.1-r2 should CONFIG_PROTECT its configuration files
Summary: sys-cluster/maui-3.3.1-r2 should CONFIG_PROTECT its configuration files
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 13:50 UTC by Volkmar Glauche
Modified: 2014-06-13 21:59 UTC (History)
1 user (show)

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


Attachments
/etc/env.d/25maui (25maui,220 bytes, text/plain)
2012-02-23 13:52 UTC, Volkmar Glauche
Details
patch to maui-3.3.1-r3.ebuild (maui-3.3.1-r3.ebuild.patch,622 bytes, patch)
2014-06-13 21:55 UTC, Brian G. Olson
Details | Diff
files/maui-3.3.1-example-cfgs.patch (maui-3.3.1-example-cfgs.patch,643 bytes, patch)
2014-06-13 21:59 UTC, Brian G. Olson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar Glauche 2012-02-23 13:50:33 UTC
sys-cluster/maui stores its configuration files in /var/spool/maui/{maui,maui-private}.cfg. These should be preserved when re-emerging/upgrading, but are overwritten silently.
Something like the attached /etc/env.d/25maui should be added to the ebuild to protect the config files.

Reproducible: Always
Comment 1 Volkmar Glauche 2012-02-23 13:52:32 UTC
Created attachment 302973 [details]
/etc/env.d/25maui

Add /var/spool/maui to CONFIG_PROTECT
Comment 2 Brian G. Olson 2014-06-13 21:55:14 UTC
Created attachment 378828 [details, diff]
patch to maui-3.3.1-r3.ebuild

apply files/maui-3.3.1-example-cfgs.patch to source, and give info to user that example configuration files are installed.
Comment 3 Brian G. Olson 2014-06-13 21:59:17 UTC
Created attachment 378830 [details, diff]
files/maui-3.3.1-example-cfgs.patch

Patch source code to make example configuration files, so that custom configs are not overwritten