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

oci: fix --home when running as root or fakeroot #1530

Conversation

preminger
Copy link
Contributor

@preminger preminger commented Apr 6, 2023

Description of the Pull Request (PR):

Fix --home functionality in OCI-mode, so it works even when running as root (e.g. under sudo) or when running with --fakeroot.

This fixes or addresses the following GitHub issues:

Related PRs

#1531 describes a more fundamental change to the way custom /etc/passwd information is handled in singularity, which would reduce the likelihood of problems like the one described here arising in the first place.

@preminger preminger marked this pull request as ready for review April 6, 2023 23:01
@preminger preminger requested a review from dtrudg April 6, 2023 23:01
@preminger preminger merged commit f0e8f58 into sylabs:main Apr 10, 2023
preminger pushed a commit to preminger/singularity that referenced this pull request Apr 14, 2023
preminger pushed a commit that referenced this pull request Apr 14, 2023
* oci: support --home (#1500)

* oci: fix --home when running as root or fakeroot (#1530)
edytuk pushed a commit to vzokay/apptainer that referenced this pull request Jun 19, 2023
…1530)

Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
edytuk pushed a commit to vzokay/apptainer that referenced this pull request Jul 4, 2023
…1530)

Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
edytuk pushed a commit to vzokay/apptainer that referenced this pull request Jul 11, 2023
…1530)

Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
edytuk pushed a commit to vzokay/apptainer that referenced this pull request Jul 21, 2023
…1530)

Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
edytuk pushed a commit to vzokay/apptainer that referenced this pull request Jul 24, 2023
…1530)

Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oci: --home not working with --fakeroot or sudo
2 participants