Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Provide an alternative to -setcookie #180

Closed
gerhard opened this issue Mar 22, 2017 · 1 comment
Closed

Provide an alternative to -setcookie #180

gerhard opened this issue Mar 22, 2017 · 1 comment
Assignees
Milestone

Comments

@gerhard
Copy link
Contributor

gerhard commented Mar 22, 2017

In 3.6, the Erlang cookie can be set via environment variable. For the CLI, it's RABBITMQ_CTL_ERL_ARGS, and for the broker it's RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS.

In v3.7.0 Milestone 14 -setcookie in RABBITMQ_CTL_ERL_ARGS is no longer respected. After a quick chat with @hairyhum, it turns out that this is no longer supported in this generation of CLI tools: -setcookie works for the Erlang VM but not escripts. We believe that introducing a new environment variable, such as RABBITMQ_COOKIE, would solve this issue. A regular CLI switch is also an option.

Thoughts?

@gerhard gerhard changed the title -setcookie in RABBITMQ_CTL_ERL_ARGS no longer respected in 3.7 -setcookie in RABBITMQ_CTL_ERL_ARGS no longer respected in 3.7 Mar 22, 2017
@gerhard gerhard changed the title -setcookie in RABBITMQ_CTL_ERL_ARGS no longer respected in 3.7 -setcookie in RABBITMQ_CTL_ERL_ARGS no longer respected in 3.7 Mar 22, 2017
@michaelklishin
Copy link
Member

Please make it RABBITMQ_ERLANG_COOKIE. We don't want to invent a new term.

@michaelklishin michaelklishin changed the title -setcookie in RABBITMQ_CTL_ERL_ARGS no longer respected in 3.7 Provide an alternative to -setcookie Mar 22, 2017
@michaelklishin michaelklishin added this to the 3.7.0 milestone Mar 22, 2017
@hairyhum hairyhum self-assigned this Apr 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants