Update to ejabberd 17.09. LInks to upstream changelogs:
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2017-bb746cfd77
Please login to add feedback.
This update has been submitted for testing by bowlofeggs.
bowlofeggs edited this update.
This update has been pushed to testing.
ejabberd 17.09 fails to start on F-27. 17.07 is the last version that works. If it may help, erl is invoked in ejabberdctl in a completely different way between both versions. I didn't investigate the root cause of the problem further :
17.07 : /usr/lib64/erlang/bin/erl -sname ejabberd@localhost +K true -smp auto +P 250000 -mnesia dir '"/var/lib/ejabberd"' -ejabberd log_rate_limit 100 log_rotate_size 10485760 log_rotate_count 1 log_rotate_date '""' -s ejabberd -noinput -detached
17.09: /usr/lib64/erlang/bin/erl -sname 639022e8-ctl-ejabberd@localhost +K true -smp auto +P 250000 -hidden -noinput -s ejabberd_ctl -extra ejabberd@localhost --ctl-config /etc/ejabberd/ejabberdctl.cfg --spool /var/lib/ejabberd --logs /var/log/ejabberd start
with the error : Failed RPC connection to the node ejabberd@localhost: nodedown
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
bowlofeggs edited this update.
bowlofeggs edited this update.
Thanks for testing @bellet - I can reproduce the problem here too.
This update has been unpushed.
I believe the problem is that the script has changed in two ways: The first is that it uses
$1
in the case statement at the end to determine which command you are running. The old invocation worked with arguments first and then the command, but now the command (such asstart
orstop
must be the first positional argument. This needs to be fixed in the systemd unit file.After fixing that, I found another problem. When invoked with
sudo
,ejabberdctl
usessu
to switch to theejabberd
user. This would be fine, except that theejabberd
user's shell is set tonologin
so this fails. The unit file runs the script asejabberd
so that not necessarily a problem there, but it would affect usingejabberdctl
on the command line to manage the server. This is fixed by inserting a-s /bin/sh
in thesu
line inexec_cmd()
.I also found a third issue, which is that the new
mod_avatar
module seems to be enabled by default, but ejabberd is not built with graphics support. I must have failed to notice that it was enabled in the default config, so I will alter the config to switch that off. IIRC, we need to package a new dependency in order to makemod_avatar
work. We can do that, but i haven't had the time so far.Thanks again for testing! I am sad that i didn't notice these things before posting the update.
I've filed #1524199 to track the issue.
bowlofeggs edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been submitted for testing by bowlofeggs.
This update has been pushed to testing.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for batched by bowlofeggs.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.