Story #2538
closedSearch paths other than EL defaults for configuration
0%
Description
I've been testing running pulp on systems other than EL and this was one of the major blockers to getting pulp-admin to run. Pulp assumes that certain directories and paths will exist and where certain files will be on the filesystem.
Notable Examples:
https://github.com/pulp/pulp/blob/master/client_admin/pulp/client/admin/config.py#L8 - client-admin DEFAULT config hard codes many paths like extension directory, ca_path
https://github.com/pulp/pulp/blob/master/client_admin/pulp/client/admin/config.py#L81 - this if statement assumes that several paths exist.
https://github.com/pulp/pulp/blob/master/server/pulp/server/config.py#L47 - similar to the client-admin DEFAULT config
I believe that these paths should instead default to a list of potential paths that these requirements could be found by default. This is similar in concept to how $PATH works in a shell. I think that a list of paths could be used and iterated over to find a good default value for the system before being loaded into the DEFAULT config object.
Related issues
Updated by sysadmind almost 8 years ago
This is related to https://pulp.plan.io/issues/2444
Updated by bizhang over 7 years ago
- Related to Task #2699: Ensure all default CA_PATH settings to work with multiple distribution default locations in Pulp3 added
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.