Hi,
If I downgrade to Dovecot 2.2.33.2, there are no problems to sync users
with ACL
Thanks,
Marco
On 2018-02-02 14:39, Marco Giunta wrote:
Hi at all,
I have a RHEL7 server with Dovecot 2.3.0 (new installation). I've a
problem when trying to dsync from a Dovecot 2.2.24 server.
If I try to sync any user with a folder with ACL, dsycn crash with panic:
Source server:
dsync-local(USERNAME): Debug: sieve: file storage: sync: Synchronization
active
dovecot: dsync-local(USERNAME): Debug: acl vfile: reading file
/var/spool/mail/U/USERNAME/dovecot-acl
dsync-local(USERNAME): Error: read(DEST_SERVER.example.com) failed: EOF
(last sent=mail_change (EOL), last recv=mailbox)
Destination server:
Feb 2 14:15:23 DEST_SERVER dovecot: dsync-server(USERNAME): Panic: file
mailbox-attribute.c: line 362 (mailbox_attribute_get_stream): assertion
failed: (value_r->value != NULL || value_r->value_stream != NULL)
Feb 2 14:15:23 DEST_SERVER dovecot: dsync-server(USERNAME): Error: Raw
backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xc8cc4) [0x7fa861bc0cc4]
-> /usr/lib64/dovecot/libdovecot.so.0(+0xc8d7e) [0x7fa861bc0d7e] ->
/usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7fa861b34190] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(+0x55cbc) [0x7fa861ec1cbc] ->
dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](dsync_mailbox_import_attribute+0x4d) [0x55b9d4ce215d]
-> dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](dsync_brain_sync_mails+0x2ef) [0x55b9d4cddbdf] ->
dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](dsync_brain_run+0x2b0) [0x55b9d4cd93e0] ->
dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](+0x43a10) [0x55b9d4cd9a10] -> dovecot/doveadm-server
[10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](+0x5837f) [0x55b9d4cee37f] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x65)
[0x7fa861bd82b5] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10f)
[0x7fa861bd9b5f] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x52)
[0x7fa861bd83b2] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7fa861bd85d8] -> dovecot/doveadm-server [10.0.11.137 USERNAME INBOX
send:mail_requests recv:attributes](+0x28369) [0x55b9d4cbe369] ->
dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](+0x29c07) [0x55b9d4cbfc07] -> dovecot/doveadm-server
[10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](+0x3f969) [0x55b9d4cd5969] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x65)
[0x7fa861bd82b5] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10f)
[0x7fa861bd9b5f] ->
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x52)
[0x7fa861bd83b2] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38)
[0x7fa861bd85d8] ->
/usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7fa861b56b23] -> dovecot/doveadm-server [10.0.11.137 USERNAME INBOX
send:mail_requests recv:attributes](main+0x1b6) [0x55b9d4cb0536] ->
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fa861756c05] ->
dovecot/doveadm-server [10.0.11.137 USERNAME INBOX send:mail_requests
recv:attributes](+0x1a5f5) [0x55b9d4cb05f5]
Feb 2 14:15:23 DEST_SERVER dovecot: dsync-server(USERNAME): Fatal:
master: service(doveadm): child 2149 killed with signal 6 (core dumped)
Coredump and configuration attached.
On source server I run this command:
# doveadm -D backup -f -u USERNAME -x 'Archives*'
tcp:DEST_SERVER.example.com
but same panic if try to sync from destination server:
# doveadm -D backup -fR -u USERNAME -x 'Archives*'
tcp:SOURCE_SERVER.example.com
Same panic also syncing any user with acl and using different
acl_shared_dict (file or fs:posix) in dovecot configuration.
Thanks,
Marco
--
Marco Giunta - ITCS SysAdmin
Via Bonomea, 265
34136 - Trieste, Italy
Tel: +39-040-3787-503
Fax: +39-040-3787-244