Bug 1312709 - ejabberd does not start with permission denied
Summary: ejabberd does not start with permission denied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ejabberd
Version: 24
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-29 02:00 UTC by Randy Barlow
Modified: 2016-02-29 13:29 UTC (History)
5 users (show)

Fixed In Version: ejabberd-16.01-3.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-29 13:29:11 UTC
Type: Bug


Attachments (Terms of Use)

Description Randy Barlow 2016-02-29 02:00:37 UTC
This is very likely my fault as I adjusted some of the patches that changed default permissions in the upgrade from 14.07 to 16.01. It seems that ejabberd does not start in Fedora 24 (and very likely Rawhide as well):

$ sudo -u ejabberd /usr/bin/bash /usr/bin/ejabberdctl --config /etc/ejabberd/ejabberd.yml --ctl-config /etc/ejabberd/ejabberdctl.cfg --logs "/var/log/ejabberd" --spool "/var/lib/ejabberd" start
/usr/bin/bash: /usr/bin/ejabberdctl: Permission denied
$ ls -lah /usr/bin/ejabberdctl 
-r-xr-x---. 1 root root 16K Feb 19 23:06 /usr/bin/ejabberdctl

The problem seems to be that the ejabberd user does not have permission to execute ejabberdctl.

Comment 1 Randy Barlow 2016-02-29 03:23:53 UTC
This is what that executable looks like on my F22 host:

$ ls -lah /usr/bin/ejabberdctl 
-rwxr-xr-x. 1 root root 13K Nov 14  2014 /usr/bin/ejabberdctl

I will fix this by restoring the permissions to those values.


Note You need to log in before you can comment on or make changes to this bug.