-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
/usr/sbin/rabbitmqctl contains bash functionality while running sh #321
Comments
rabbitmqctl -q list_users |
It's actually fixed in master by 6964e8a |
No, 3.5.5 has this, but anyway broken. |
Right, we need a 3.5.6 as soon as possible. |
My colleague @dumbbell is working on a fix for this. |
We are recreating the RPM and Debian packages with the script fixed. I will let you know when it's done. |
We are looking at building a new package revision. Packages other than Debian and RPM are not affected. 3.5.4 is still available from Bintray and Package Cloud.
|
We need backport this: |
Denis, If you check the stable branch you would notice that we already did. We appreciate how proactive you are but really, we are well aware of what needs to be done and why.
|
Michael, Ok, thanks, just for information and bug log. |
The rerolled packages were delayed by #325. The new build is now in progress. We are sorry for these two bugs. We really need to improve the testing of the Debian and RPM packages (the broken script is only used in those packages)... |
RabbitMQ 3.5.5 has a bug [1] that prevent puppetlabs-rabbitmq module to create permissions: Could not evaluate: cannot parse line from list_user_permissions:/usr/sbin/rabbitmqctl: 19: [: Linux: unexpected operator] This patch is a workaround to make sure we install the previous stable version of RabbitMQ (3.5.4). Since puppetlabs-rabbitmq module will only check if the package is 'installed', it won't try to update it. [1] rabbitmq/rabbitmq-server#321 Change-Id: I8e0fa8e62e93b62317011fd7c8a2730cd293d4c7
New packages (3.5.5-3) were uploaded. Thank you reporting the problem! |
Thank you guys for your responsiveness. Much appreciated. |
/usr/sbin/rabbitmqctl is running /bin/sh but contains bash functionality:
if [ $(uname -s) == "Linux" ]; then
Introduced by b82a9fd
It should be:
if [ $(uname -s) = "Linux" ]; then
Co-debugged with Denis Egorenko.
The text was updated successfully, but these errors were encountered: