use of LPCONFIG env setting forcing use of wrappers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Wishlist
|
Stuart Bishop |
Bug Description
This has been highlighted as a pain point issue in a recent request to create a rewrite config via apache.
A wrapper has had to be created for the sole purpose of setting the LPCONFIG for the environment(s) needed.
The problem is further seen in the mix of Makefile's, init scripts, crontabs and the like that all require setting of this env variable. ie. There is no single place that the application itself goes and looks for this crucial configuration setting.
Clearly there is still a need to have an override - where we have multiple services on the same server all with different configurations - but it would enormously simplify the modifications necessary to troubleshoot and manage lp services if a default path/config file were added.
One suggestion from discussions in IS was for:
"A search path of "$LPCONFIG:
Changed in launchpad-foundations: | |
assignee: | nobody → stub |
importance: | Undecided → Wishlist |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
There is such a default and it's 'development'.
I don't understand the problem here.