RabbitMQ does not validate configuration settings when run from release archive #13783
Replies: 4 comments 13 replies
-
The plot thickens ... I added the following to my https://github.com/lukebakken/rabbitmq/blob/main/src/discussions/1/Makefile#L12-L18 Usage:
Both of the above start successfully, even though they should have failed due to the
Note that no plugins were started, either 🤔 |
Beta Was this translation helpful? Give feedback.
-
@lukebakken by "invalid" do you mean a syntactically invalid Erlang term file? |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin - more information about this issue. When you start RabbitMQ from
You can see where boot stops due to errors at the bottom of that output. If I start RabbitMQ from
I'll see if I can figure out why the difference exists. |
Beta Was this translation helpful? Give feedback.
-
Related issue: #2085 |
Beta Was this translation helpful? Give feedback.
-
RabbitMQ version used
4.1.0
Erlang version used
27.3.x
Operating system (distribution) used
Arch Linux (via WSL)
How is RabbitMQ deployed?
Community Docker image
https://github.com/lukebakken/rabbitmq/tree/main/src/discussions/1
Hello Team RabbitMQ!
I was helping a community user with LDAP, and noticed that he could start RabbitMQ (via docker) with
auth_ldap
settings in hisrabbitmq.conf
file, even thoughrabbitmq_auth_backend_ldap
was NOT enabled. However, when I start RabbitMQ from source, and use the samerabbitmq.conf
file, the validation works as expected, and RabbitMQ fails to boot.Original issue reported via Discord:
https://discord.com/channels/1092487794984755311/1092487794984755314/1362805174208303405
User followed-up here:
lukebakken/rabbitmq#1
Notice that, because
rabbitmq_auth_backend_ldap
was not enabled, this user got the following stack trace when trying to authenticate a user (noproc
):Any ideas? I'm going to continue investigating.
Beta Was this translation helpful? Give feedback.
All reactions