Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47246 - [rabbitmq] Default NODENAME is invalid

Attached to Project: Community Packages
Opened by Hugo Osvaldo Barrera (hobarrera) - Thursday, 03 December 2015, 11:09 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 09 January 2016, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

rabbitmq.install contains this line:

sed -e "/NODENAME/s/rabbit/rabbit@$(hostname)/" -i /etc/rabbitmq/rabbitmq-env.conf

This replaces NODENAME with the hosts's FQDN. Rabbitmq does not accept FQDNs as nodenames, so this will never work:

Dec 03 08:05:44 athena.barrera.io systemd[1]: Started RabbitMQ Messaging Server.
Dec 03 08:05:44 athena.barrera.io rabbitmq[27631]: {error_logger,{{2015,12,3},{8,5,44}},"Can't set short node name!\nPlease check your configuration\n",[]}
[...]

The above mentioned line should read:

sed -e "/NODENAME/s/rabbit/rabbit@$(hostname -s)/" -i /etc/rabbitmq/rabbitmq-env.conf
This task depends upon

Closed by  Levente Polyak (anthraxx)
Saturday, 09 January 2016, 20:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 3.6.0-2

Loading...