How to install

sudo dnf upgrade --advisory=FEDORA-2017-bb746cfd77

This update has been submitted for testing by bowlofeggs.

2 years ago

bowlofeggs edited this update.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon bellet commented & provided feedback 2 years ago
karma

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

BZ#1427123 ejabberd-17.09 is available

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.

2 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

2 years ago

bowlofeggs edited this update.

2 years ago

bowlofeggs edited this update.

2 years ago
User Icon bowlofeggs commented & provided feedback 2 years ago

Thanks for testing @bellet - I can reproduce the problem here too.

This update has been unpushed.

User Icon bowlofeggs commented & provided feedback 2 years ago

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 as start or stop 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 uses su to switch to the ejabberd user. This would be fine, except that the ejabberd user's shell is set to nologin so this fails. The unit file runs the script as ejabberd so that not necessarily a problem there, but it would affect using ejabberdctl on the command line to manage the server. This is fixed by inserting a -s /bin/sh in the su line in exec_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 make mod_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.

User Icon bowlofeggs commented & provided feedback 2 years ago

I've filed #1524199 to track the issue.

bowlofeggs edited this update.

New build(s):

  • ejabberd-17.09-2.fc27

Removed build(s):

  • ejabberd-17.09-1.fc27

Karma has been reset.

2 years ago

This update has been submitted for testing by bowlofeggs.

2 years ago

This update has been pushed to testing.

2 years ago
User Icon bellet provided feedback 2 years ago
karma
BZ#1524199 ejabberd does not start

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

2 years ago

This update has been submitted for batched by bowlofeggs.

2 years ago

This update has been submitted for stable by bodhi.

2 years ago

This update has been pushed to stable.

2 years ago

Please login to add feedback.

Metadata
Type
enhancement
Severity
low
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Dates
submitted
2 years ago
in testing
2 years ago
in stable
2 years ago
modified
2 years ago
BZ#1422712 erlang-xmpp-1.1.15 is available
0
0
BZ#1427123 ejabberd-17.09 is available
0
0
BZ#1434803 erlang-cache_tab-1.0.11 is available
0
0
BZ#1434804 erlang-esip-1.0.16 is available
0
0
BZ#1434820 erlang-stun-1.0.15 is available
0
0
BZ#1471308 erlang-fast_tls-1.0.16 is available
0
0
BZ#1475055 erlang-p1_oauth2-0.6.2 is available
0
0
BZ#1496434 erlang-iconv-1.0.6 is available
0
0
BZ#1496436 erlang-fast_xml-1.1.24 is available
0
0
BZ#1496437 erlang-fast_yaml-1.0.11 is available
0
0
BZ#1496444 erlang-p1_utils-1.0.10 is available
0
0
BZ#1496448 erlang-stringprep-1.0.10 is available
0
0
BZ#1524199 ejabberd does not start
0
1

Automated Test Results