Package: ejabberd
Version: 16.01-2
Severity: normal

Hello!

It looks like the apparmor profile for ejabberdctl's exec of "su" is
missing the "m" permission for the binary, which causes it to fail
when run as root:

# ejabberdctl status
/usr/sbin/ejabberdctl: line 428: 21780 Segmentation fault      $EXEC_CMD "$CMD"

Patch attached.

This bug has also been reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/ejabberd/+bug/1659801

Thanks!

-Kees

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0-14-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to