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

Do not allow setting /tmp #224

Merged
merged 2 commits into from
Jul 28, 2023
Merged

Conversation

rminnich
Copy link
Member

No description provided.

@rminnich rminnich requested review from ericvh, brho and Lencerf July 28, 2023 19:33
We have determined that setting an alternative to /tmp
is not as useful as we thought, and it adds more complexity
and chances for failure (as this commit shows, actually).

This reverts commit 243d03a.

Signed-off-by: Ronald G Minnich <[email protected]>
That commit reads as follows:
    Add -tmpMnt to change namespace mount point

    Some applications may need to access the original contents in /tmp
    directory of the local host. Adding -tmpMnt to allow changing the
    private namespace mount point to avoid conflict.

There are a number of problems with this idea, especially as move
to Windows support. Further, it did not really prove to be useful.

This is not exactly a revert, because reverting that commit
was no longer simple, as we have more programs (decpu, decpud)
than we used to.

From here on out, the server's private mounts will be in
only one place: os.TempDir()

Signed-off-by: Ronald G Minnich <[email protected]>
@rminnich rminnich merged commit b04f2f2 into u-root:main Jul 28, 2023
7 checks passed
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.

2 participants