Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-13 Thread Friedrich Kink via oi-dev
Hi all, thanks a lot for all hints and discussion. I still do not have a finally correct answer to my problem. But I found some interesting things about my dovecot installation. First it is running without any problem once built with --with-ioloop=poll. What I found during my further investig

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-13 Thread s...@pandora.be
This is true , the manpage warns about some issues with epoll, that occur also on Linux. But I suppose that from a pragmatic point of view, any API has its pro's and con's. So overall I like the fact that Illumos offers the 'epoll feature'. This seems like a feature to me .. not a problem and

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-12 Thread Till Wegmueller
Hello A quick quote I want to have people keep in mind from the epoll manpage 'man epoll' tl;dr epool is for compatibility purposes it is not intended as a full features replacement. Please do not use it if possible. It works but there will be dragons. ``` The epoll facility is implemented

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-12 Thread Bob Friesenhahn
On Sat, 12 Feb 2022, Stephan Althaus wrote: In the snipplet that Mr Al Slater communicated, it looks like there are linux-specific epoll details that are not working with illumos. Apples and apples can be different :-) This is quite possible. I should mention that I am running Dovecot in a

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-12 Thread Stephan Althaus
On 2/12/22 16:13, s...@pandora.be wrote: As I said, I don't know specifically what the issue with DoveCot is, but if disabling chroot() helps, that could also be a good hint to try. Perhaps as an alternative to chroot, dovecot can be ran in a zone. For the component that I maintain (OpenSmallta

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-12 Thread s...@pandora.be
As I said, I don't know specifically what the issue with DoveCot is, but if disabling chroot() helps, that could also be a good hint to try. Perhaps as an alternative to chroot, dovecot can be ran in a zone. For the component that I maintain (OpenSmalltalk) which is a different component, epol

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-12 Thread Bob Friesenhahn
On Sat, 12 Feb 2022, s...@pandora.be wrote: I don't know what the issue or problem with "dovecot" is, but regarding Illumos/OpenIndiana epoll support, epoll(5) in OpenIndiana/Illumos seems to work. The problem appeared to be related to being used in conjunction with chroot(). Have you trie

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-11 Thread Al Slater
On Fri, 2022-02-11 at 06:54 +0100, Stephan Althaus wrote: On 2/10/22 23:36, Bob Friesenhahn wrote: On Thu, 10 Feb 2022, Stephan Althaus wrote: o support your investigation, I tried mdb and it says mdb: target performed exec of /usr/libexec/dovecot/anvil *Panic: epoll_ctl(add, 4) failed: Not own

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-11 Thread s...@pandora.be
I don't know what the issue or problem with "dovecot" is, but regarding Illumos/OpenIndiana epoll support, epoll(5) in OpenIndiana/Illumos seems to work. For OpenSmalltalk I have in the component Makefile : # epoll(5) seems to work, so use epoll instead of select(3c) CONFIGURE_ENV+= ax

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-10 Thread Stephan Althaus
On 2/10/22 23:36, Bob Friesenhahn wrote: On Thu, 10 Feb 2022, Stephan Althaus wrote: o support your investigation, I tried mdb and it says mdb: target performed exec of /usr/libexec/dovecot/anvil *Panic: epoll_ctl(add, 4) failed: Not owner (fd doesn't support epoll)* The last time I built do

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-10 Thread Bob Friesenhahn
On Thu, 10 Feb 2022, Stephan Althaus wrote: o support your investigation, I tried mdb and it says mdb: target performed exec of /usr/libexec/dovecot/anvil *Panic: epoll_ctl(add, 4) failed: Not owner (fd doesn't support epoll)* The last time I built dovecot under OmniOS (quite some time ago),

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-10 Thread Stephan Althaus
On 2/10/22 21:33, Stephan Althaus wrote: On 2/9/22 21:25, Till Wegmueller wrote: Hello Fritz It talks about a failed code assertion so something went out of expected bounds. Can you check if doevecot wrote something more usefull to syslog? Here it just says "file %s: line %d (%s): assertion

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-10 Thread Stephan Althaus
On 2/9/22 21:25, Till Wegmueller wrote: Hello Fritz It talks about a failed code assertion so something went out of expected bounds. Can you check if doevecot wrote something more usefull to syslog? Here it just says "file %s: line %d (%s): assertion failed: (%s)" But not the actual assertio

Re: [oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-09 Thread Till Wegmueller
Hello Fritz It talks about a failed code assertion so something went out of expected bounds. Can you check if doevecot wrote something more usefull to syslog? Here it just says "file %s: line %d (%s): assertion failed: (%s)" But not the actual assertion failure message. The one below that is

[oi-dev] /usr/libexec/dovecot/anvil crashes immediately

2022-02-09 Thread Friedrich Kink via oi-dev
Sent this already to dovecot mailinglist without response so far. Maybe someone reading this list can help. Unfortunately it did not show up during the test run of the package and I used earlier versions without this problem. Dear list, I built a dovecot package for openindiana (which is a S