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

inet_config: Tolerate atoms as inetrc kernel argument #8902

Draft
wants to merge 1 commit into
base: maint
Choose a base branch
from

Conversation

jhogberg
Copy link
Contributor

@jhogberg jhogberg commented Oct 4, 2024

Many RabbitMQ users provided atoms instead of strings as the inetrc file path because of an error in their documentation. This was tolerated by accident until atom filename support was removed from erl_prim_loader.

We did the latter for good reason, but tolerating this specifically in inet_config is no big deal.


Fixes #8899. I figured that simply tolerating it was better than raising an error as it's difficult to present it in a way that makes sense, given how this argument is often provided on the command line.

Many RabbitMQ users provided atoms instead of strings as the
`inetrc` file path because of an error in their documentation. This
was tolerated by accident until atom filename support was removed
from erl_prim_loader.

We did the latter for good reason, but tolerating this specifically
in inet_config is no big deal.
@jhogberg jhogberg added the team:VM Assigned to OTP team VM label Oct 4, 2024
@jhogberg jhogberg self-assigned this Oct 4, 2024
@jhogberg jhogberg changed the base branch from master to maint October 4, 2024 13:53
Copy link
Contributor

github-actions bot commented Oct 4, 2024

CT Test Results

No tests were run for this PR. This is either because the build failed, or the PR is based on a branch without GH actions tests configured.

Results for commit 6d79376

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@michaelklishin
Copy link
Contributor

@jhogberg on behalf of the entire RabbitMQ team, thank you for bringing back this really obscure behavior that does not necessarily make much sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OTP-27 inetrc behavior change leads to obscure crashes
2 participants