The problem is in apparmor configuration:

```
audit: type=1400 audit(1524780087.048:210): apparmor="DENIED" 
operation="file_mmap" profile="/usr/sbin/ejabberdctl//su" 
name="/usr/lib/erlang/p1_pam/bin/epam" pid=25519 comm="epam" requested_mask="m" 
denied_mask="m" fsuid=0 ouid=0
```

`mmap` permission needs to be specified for the epam suid binary helper.
Attached patch fixes the problem, pam authentication starts to work.

** Patch added: "ejabberd-pam-apparmor.patch"
   
https://bugs.launchpad.net/ubuntu/+source/ejabberd/+bug/1767101/+attachment/5127951/+files/ejabberd-pam-apparmor.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767101

Title:
  epam crashes instantly on ejabberd start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ejabberd/+bug/1767101/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to