[dovecot/core] 826f76: lib-index: fsck: Fix log_file_head|tail_offset pro...
GitHub
noreply at github.com
Fri Nov 25 13:30:08 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 826f767b6017e4572dcc1dcd4f7573a5df6cd767
https://github.com/dovecot/core/commit/826f767b6017e4572dcc1dcd4f7573a5df6cd767
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-index/mail-index-fsck.c
Log Message:
-----------
lib-index: fsck: Fix log_file_head|tail_offset properly
Commit: ca2f3260811c4ccd0afb774d7e13a5bd64d0cc34
https://github.com/dovecot/core/commit/ca2f3260811c4ccd0afb774d7e13a5bd64d0cc34
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-index/mail-index-map-read.c
Log Message:
-----------
lib-index: If index open fails with fsck, retry opening once.
The fsck should have fixed the log offsets and open should work.
Commit: de258127e1fbd581329f09382e8e7eb9c9da58c5
https://github.com/dovecot/core/commit/de258127e1fbd581329f09382e8e7eb9c9da58c5
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-storage/list/mailbox-list-index-sync.c
M src/lib-storage/list/mailbox-list-index.c
M src/lib-storage/list/mailbox-list-index.h
Log Message:
-----------
lib-storage: Rename mailbox_list_index.corrupted to corrupted_names_or_parents
Makes it clearer what exactly the flag means.
Commit: 02d6628c1fea2990c67c60b111c8e68867160885
https://github.com/dovecot/core/commit/02d6628c1fea2990c67c60b111c8e68867160885
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-index/mail-index-fsck.c
M src/lib-index/mail-index-sync-update.c
M src/lib-index/mail-index.h
Log Message:
-----------
lib-index: fsck now adds MAIL_INDEX_HDR_FLAG_FSCKD to header.
It can only be removed by an explicit header update.
Commit: c5073d5b57145e9d2912ea69e44e25550bf274fe
https://github.com/dovecot/core/commit/c5073d5b57145e9d2912ea69e44e25550bf274fe
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-index/mail-index-transaction-update.c
M src/lib-index/mail-index.h
Log Message:
-----------
lib-index: Add mail_index_unset_fscked()
This can be used to easily remove MAIL_INDEX_HDR_FLAG_FSCKD. It takes a
transaction parameter instead of sync_ctx because some index rebuilds
are done with a separate transaction while the sync_ctx is rolled back.
Commit: 857c471c13ca215f4be9dd4b336b742b8d434e31
https://github.com/dovecot/core/commit/857c471c13ca215f4be9dd4b336b742b8d434e31
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-storage/fail-mail-storage.c
M src/lib-storage/index/cydir/cydir-storage.c
M src/lib-storage/index/dbox-multi/mdbox-deleted-storage.c
M src/lib-storage/index/dbox-multi/mdbox-storage.c
M src/lib-storage/index/dbox-single/sdbox-storage.c
M src/lib-storage/index/imapc/imapc-storage.c
M src/lib-storage/index/maildir/maildir-storage.c
M src/lib-storage/index/mbox/mbox-storage.c
M src/lib-storage/index/pop3c/pop3c-storage.c
M src/lib-storage/index/raw/raw-storage.c
M src/lib-storage/index/shared/shared-storage.c
M src/lib-storage/mail-storage-private.h
M src/plugins/virtual/virtual-storage.c
Log Message:
-----------
lib-storage: Add mail_storage.list_index_corrupted()
The actual implementation is in the next commit.
Commit: 22436f3cbb7a2c666519a7448cf2d4d20e48f352
https://github.com/dovecot/core/commit/22436f3cbb7a2c666519a7448cf2d4d20e48f352
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-storage/list/mailbox-list-index-notify.c
M src/lib-storage/list/mailbox-list-index-sync.c
M src/lib-storage/list/mailbox-list-index.c
M src/lib-storage/list/mailbox-list-index.h
Log Message:
-----------
lib-storge: Call mail_storage.list_index_corrupted() when needed
The callback is called whenever mailbox list index appears to be corrupted
with LAYOUT=index. The storage is responsible for adding to the index any
mailboxes that are missing.
Commit: 3d758b4fad11dd138b88735dc237f1c6d800a95b
https://github.com/dovecot/core/commit/3d758b4fad11dd138b88735dc237f1c6d800a95b
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c
M src/lib-storage/index/dbox-single/sdbox-sync.c
Log Message:
-----------
sdbox: Rebuild index after it's been fsck'd
Commit: 96088ba9ef3b6c113a0a41f3778cd38f437ddc3d
https://github.com/dovecot/core/commit/96088ba9ef3b6c113a0a41f3778cd38f437ddc3d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M src/lib-storage/index/dbox-multi/mdbox-map.c
M src/lib-storage/index/dbox-multi/mdbox-map.h
M src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c
M src/lib-storage/index/dbox-multi/mdbox-sync.c
Log Message:
-----------
mdbox: Rebuild index after it's been fsck'd
Commit: e8e00a579e12dcb57b0c4077fed2df3f4106ae5a
https://github.com/dovecot/core/commit/e8e00a579e12dcb57b0c4077fed2df3f4106ae5a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-11-25 (Fri, 25 Nov 2016)
Changed paths:
M doc/mkcert.sh
Log Message:
-----------
mkcert.sh: Use umask to create key file as 0600
Fixes a race condition between creation of the file and a later chmod.
This script was mostly meant as an example though, and not really for
production use. Especially because it generates self-signed certs.
CVE-2016-4983
Compare: https://github.com/dovecot/core/compare/3c503fa10d3d...e8e00a579e12
More information about the dovecot-cvs
mailing list