Skip to content

rustup-init.sh: Check for /proc early #2664

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

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Conversation

kinnison
Copy link
Contributor

Check for /proc being mounted as soon as we identify that we're
running the installer on Linux. We need /proc for various reasons
and it'd be better to error out cleanly than to report spurious
messages and then error out later in a confusing way.

This fixes #2654

@joshtriplett Do you think this error is okay? Testing this in CI is a tad tough sadly.

Check for /proc being mounted as soon as we identify that we're
running the installer on Linux.  We need /proc for various reasons
and it'd be better to error out cleanly than to report spurious
messages and then error out later in a confusing way.

This fixes rust-lang#2654

Signed-off-by: Daniel Silverstone <[email protected]>
@kinnison kinnison merged commit 90c8401 into rust-lang:master Feb 16, 2021
@kinnison kinnison deleted the fix-2654 branch February 16, 2021 15:02
AJ-Ianozi pushed a commit to AJ-Ianozi/getada-download that referenced this pull request Oct 12, 2023
rustup-init.sh: Check for /proc early
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.

rustup-init should detect early if /proc isn't mounted
2 participants