FS#61479 - [dovecot] auth-worker service fails since recent MariaDB upgrade

Attached to Project: Community Packages
Opened by Bogomil (smirky) - Sunday, 20 January 2019, 14:42 GMT
Last edited by Thore Bödecker (foxxx0) - Wednesday, 23 January 2019, 09:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Thore Bödecker (foxxx0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The new dovecot package, rebuilt for MariaDB 10.3.x causes auth-worker to fail:

From /var/log/mail.log:

Jan 20 11:31:29 archy dovecot[23070]: auth-worker: Fatal: master:
service(auth-worker): child 9885 killed with signal 6 (core not dumped -
https://dovecot.org/bugreport.html#coredumps - set /proc/sys/fs/suid_dum
pable to 2)

From dmesg:

[42113.729398] auth[8134]: segfault at 5579d8e1c8e0 ip 00005579d8e1c8e0
sp 00007ffd44ab0df8 error 15
[42113.729406] Code: 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00
00 21 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 20 7a af 07 e3 7f 00
00 <40> f4 b5 07 e3 7f 00 00 31 a0 00 00 00 00 00 00 e0 9f df d8 79
55

I have reported this upstream and received a patch that fixes the problem.
Please decide if it's good enough to be used in our repository package until an official fix comes from upstream.
Until then, I'm going to use the patch anyway.

https://www.dovecot.org/pipermail/dovecot/2019-January/114407.html

Additional info:
0 « root » /etc/dovecot # pacman -Q mariadb dovecot
mariadb 10.3.12-3
dovecot 2.3.4-2

This task depends upon

Closed by  Thore Bödecker (foxxx0)
Wednesday, 23 January 2019, 09:36 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fixed as of dovecot-2.3.4-3
Comment by Robin (robin67) - Monday, 21 January 2019, 08:05 GMT
Hopefully the patch can be included in the current package
The patch can be found here https://github.com/dovecot/core/commit/3c5101ffdd2a8115e03ed7180d53578765dea4c9.patch
Comment by Thore Bödecker (foxxx0) - Wednesday, 23 January 2019, 09:00 GMT
I have added the upstream patch to the package, please test the fixed package located here:

pacman -U https://www.foxxx0.de/pkgs/dovecot-2.3.4-3-x86_64.pkg.tar.xz

When using pacman with that URL it will also fetch the gpg signature and validate it, that package is signed with my official Arch Linux TU key.

Please report back if this package fixes your issues and then I will commit it to the repository.
Comment by Oleksandr Natalenko (post-factum) - Wednesday, 23 January 2019, 09:32 GMT
Running the test build for half an hour, and not seeing segfaults any more. Looks like this is the fix, thank you!

Loading...