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

Bug 4139

Summary: Portage: add new config protection path
Product: Gentoo Linux Reporter: Maik Schreiber <blizzy-keyword-gentoo_bugs2.a8a736>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: enhancement CC: blizzy-keyword-gentoo_bugs2.a8a736
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maik Schreiber 2002-06-25 09:25:50 UTC
Please add the path "/opt/jakarta/tomcat/conf" to CONFIG_PROTECT in
/etc/make.globals (this path is used by net-www/tomcat).
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-26 14:40:39 UTC
In Portage 2.0.18 and greater, you can use this modular approach to do it.  Add
an /etc/env.d/51tomcat file with this in it:

CONFIG_PROTECT="/opt/jakarta/tomcat/conf"

CONFIG_PROTECT is now incremental like USE, so old options won't get overwritten.
But the long-term solution is to get jakarta's config files in /etc/opt, which is
what the FHS tells us to do.  Maybe use a symlink and store jakarta config in
/etc/opt/tomcat/conf?  That's the best solution.
Comment 2 Maik Schreiber 2002-07-26 15:16:08 UTC
I think >=portage-2.0.18 should be added as a dependency then? That will have to
wait until an unmasked version of >=portage-2.0.18 is out then.