On Sun, May 10, 2020 at 11:06:26PM +0200, Michael Biebl wrote:
> > +echo "Waiting for the service to be available"
> > +c=0
> > +while ! nc -z -U /var/run/dovecot/auth-userdb; do
> > +   c=$(($c+1))
> > +   sleep 2
> > +   if [ $c -gt 30 ]; then
> > +           echo "Timed out waiting for the service to be available" >&2
> > +           exit 1
> > +   fi
> > +done
> 
> Looping until the service is ready appears to be a workaround/hack at
> best imho.

I agree, however...

> The dovecot service should only signal its readiness when the
> communication sockets are ready yet to accept connections. I.e. this
> autopkgtest appears to point at a real issue that should be fixed properly.

I do not believe that this is an RC issue.  In order to address the
stale upstream version and pending security updates in sid, and allow
the package to again enter bullseye, I propose the following:

I will upload a new upstream version to sid containing the workaround
for the test failures.  I will leave this bug open, but will reduce the
severity to 'normal'.  In a subsequent upload, I will apply a patch to
implement sd_notify and will resolve the bug.  Please feel free to send
a patch if you don't want to wait however long it'll take for me to get
around to putting one together.

Dovecot has been essentially unmaintained in Debian since August 2019,
and there's quite a backlog of work to do.  I'm going to work on getting
it back into shape, but it will be a little while before it's where it
should be.  It won't happen all at once.

noah

Reply via email to