Eww, automatically changing configuration files in maintainer scripts? That looks like a no-go to me. It does not even check if the IP already exists in /etc/hosts, or whether the file is used at all (in nsswitch.conf).
Can we instead just make the package generate an error debconf note if /etc/hosts is misconfigured and fail gracefully? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to rabbitmq-server in Ubuntu. https://bugs.launchpad.net/bugs/653405 Title: rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs