unable to start (segmentation fault)

Bug #1928735 reported by Adam Poldauf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postsrsd (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm not able to start postsrsd due segmaintation fault

root@mail-proxymx-4:~$ dpkg -l | grep post
ii postfix 3.3.0-1ubuntu0.3 amd64 High-performance mail transport agent
ii postfix-mysql 3.3.0-1ubuntu0.3 amd64 MySQL map support for Postfix
ii postfix-pcre 3.3.0-1ubuntu0.3 amd64 PCRE map support for Postfix
ii postfix-policyd-spf-python 2.0.2-1 all Postfix policy server for SPF checking
ii postsrsd 1.4-1ubuntu0.1 amd64 Sender Rewriting Scheme (SRS) lookup table for Postfix
root@mail-proxymx-4:~$ lsb_release -rd
Description: Ubuntu 18.04.5 LTS
Release: 18.04
root@mail-proxymx-4:~$ apt-cache policy postsrsd
postsrsd:
  Installed: 1.4-1ubuntu0.1
  Candidate: 1.4-1ubuntu0.1
  Version table:
 *** 1.4-1ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.4-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
root@mail-proxymx-4:~$ postsrsd -4 -f 10005 -r 10006 -d example.com -s /etc/postsrsd.secret -u nobody
Segmentation fault

Just let me know if you need more info about env.

Revision history for this message
Adam Poldauf (adampoldauf) wrote :

It's caused by apparmor, with following it works

root@mail-proxymx-4:~$ cat /etc/apparmor.d/usr.sbin.postsrsd
#include <tunables/global>

/usr/sbin/postsrsd {
  #include <abstractions/base>
  #include <abstractions/nameservice>

  capability setuid,
  capability sys_chroot,
  /etc/postsrsd.secret r,
  /usr/sbin/postsrsd mr,
}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.