Re: opensmtpd setresgid ubuntu crash
On Fri, Nov 15, 2019 at 12:03:01PM +0100, Martijn van Duren wrote: > That seems to do the trick. Thanks. > Sorry for the noise. > I have traced back the issue to a pasto in configure.ac which caused the setresuid.c file to be included on systems with setresuid() and this has bad side-effects because the openbsd-compat setresuid() function will do some funny things. The portable branch should work again for all. Writing this from a Debian/arm64 with a working smtpd -- Gilles Chehade @poolpOrg https://www.poolp.orgpatreon: https://www.patreon.com/gilles
Re: opensmtpd setresgid ubuntu crash
That seems to do the trick. Thanks. Sorry for the noise. On 11/15/19 11:40 AM, Gilles Chehade wrote: > Try using the 6.6.1p1 tag, I'm currently reworking the dev branch to > completely revamp compat layer, things will be shaky for the next few days > > On Nov 15, 2019 11:22, Martijn van Duren wrote: > > EHLO, > > I'm currently trying to port filter-dnsbl to ubuntu, but I'm stuck at > not being able to startup smtpd. Is there anyone who has seen this > before and who has a (possible) solution? > > This all is freshly installed. > > OS: Ubuntu 18.04.3 LTS > OpenSMTPD: git portable (latest) > Installed packages: > - build-essential > - autoconf > - libtool > - libssl-dev > - libz-dev > - bison > - libasr-dev > - gdb > configure parameters: none > backtrace: > #0 setresgid (rgid=rgid@entry=1001, egid=1001, egid@entry= variable: DWARF-2 expression error: Loop detected (257).>, sgid=1001, > sgid@entry= (257).>) at setresgid.c:29 > #1 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #2 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #3 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #4 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #5 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #6 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #7 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #8 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #9 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #10 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #11 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #12 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #13 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #14 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #15 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #16 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #17 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #18 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #19 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #20 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #21 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #22 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid= (257).>) at setresgid.c:29 > #23 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid= reading variable: DWARF-2 expression error: Loop detected (257).>, > sgid=
Re: opensmtpd setresgid ubuntu crash
Try using the 6.6.1p1 tag, I'm currently reworking the dev branch to completely revamp compat layer, things will be shaky for the next few daysOn Nov 15, 2019 11:22, Martijn van Duren wrote:EHLO, I'm currently trying to port filter-dnsbl to ubuntu, but I'm stuck at not being able to startup smtpd. Is there anyone who has seen this before and who has a (possible) solution? This all is freshly installed. OS: Ubuntu 18.04.3 LTS OpenSMTPD: git portable (latest) Installed packages: - build-essential - autoconf - libtool - libssl-dev - libz-dev - bison - libasr-dev - gdb configure parameters: none backtrace: #0 setresgid (rgid=rgid@entry=1001, egid=1001, egid@entry=, sgid=1001, sgid@entry=) at setresgid.c:29 #1 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #2 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #3 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #4 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #5 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #6 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #7 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #8 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #9 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #10 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #11 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #12 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #13 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #14 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #15 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #16 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #17 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #18 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #19 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #20 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #21 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #22 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #23 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #24 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #25 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #26 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #27 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #28 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #29 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #30 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #31 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #32 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #33 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #34 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #35 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 martijn@
opensmtpd setresgid ubuntu crash
EHLO, I'm currently trying to port filter-dnsbl to ubuntu, but I'm stuck at not being able to startup smtpd. Is there anyone who has seen this before and who has a (possible) solution? This all is freshly installed. OS: Ubuntu 18.04.3 LTS OpenSMTPD: git portable (latest) Installed packages: - build-essential - autoconf - libtool - libssl-dev - libz-dev - bison - libasr-dev - gdb configure parameters: none backtrace: #0 setresgid (rgid=rgid@entry=1001, egid=1001, egid@entry=, sgid=1001, sgid@entry=) at setresgid.c:29 #1 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #2 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #3 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #4 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #5 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #6 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #7 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #8 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #9 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #10 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #11 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #12 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #13 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #14 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #15 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #16 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #17 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #18 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #19 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #20 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #21 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #22 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #23 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #24 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #25 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #26 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #27 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #28 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #29 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #30 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #31 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #32 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #33 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #34 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 #35 0x55c9b388d0c8 in setresgid (rgid=rgid@entry=1001, egid=, sgid=) at setresgid.c:29 martijn@