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 mount home=no, support --no-home in --oci mode #1784

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

dtrudg
Copy link
Member

@dtrudg dtrudg commented Jun 16, 2023

Description of the Pull Request (PR):

fix: set correct $HOME in --oci mode when mount home = no

When mount home = no is set in singularity.conf, we still need to
set the correct value for $HOME in the container... we just don't
want to mount it.

Fixes #1783

support --no-home in --oci mode

When --no-home is set on the CLI in --oci mode, do not mount
onto the container home directory.

Fixes #1780

Before submitting a PR, make sure you have done the following:

When `mount home = no` is set in `singularity.conf`, we still need to
set the correct value for `$HOME` in the container... we just don't
want to mount it.

Fixes sylabs#1783
@dtrudg dtrudg added bug Something isn't working backport Backport this to stable version labels Jun 16, 2023
@dtrudg dtrudg added this to the SingularityCE 4.0 milestone Jun 16, 2023
When `--no-home` is set on the CLI in `--oci` mode, do not mount
onto the container home directory.

Fixes sylabs#1780
Copy link
Contributor

@preminger preminger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@dtrudg dtrudg merged commit 97d92e3 into sylabs:main Jun 19, 2023
@dtrudg dtrudg deleted the issue1467 branch June 19, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Backport this to stable version bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In --oci mode $HOME not correct when mount home = no Support --no-home in --oci mode
2 participants