Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 99-user-override.sh #29103

Open
milljm opened this issue Nov 19, 2024 · 0 comments
Open

fix 99-user-override.sh #29103

milljm opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
C: Apptainer Tickets pertaining to Singularity/Apptainer T: task An enhancement to the software.

Comments

@milljm
Copy link
Member

milljm commented Nov 19, 2024

Motivation

The earlier PR does nothing to allow users to override environment settings... #28847.

We need to source a users profile before activating a conda-pack environment. For whatever reason, Conda destroys aliases, functions, etc after the fact.

Which is another strange occurrence. One would expect anything being sourced after sourcing the Conda environment would override anything occurring before.

Design

Move the source lines around so user-override lands before what is sourcing Conda.

Impact

Users can have a ~/.bashrc_apptainer.sh profile that properly sources a complex profile (alias, functions, etc).

@milljm milljm added T: task An enhancement to the software. C: Apptainer Tickets pertaining to Singularity/Apptainer labels Nov 19, 2024
@milljm milljm self-assigned this Nov 19, 2024
milljm added a commit to milljm/moose that referenced this issue Nov 19, 2024
It would seem sourcing the Conda environment before a users environment
prevents later `source`-ing attempts.

Closes idaholab#29103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Apptainer Tickets pertaining to Singularity/Apptainer T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

1 participant