make check (pigeonhole)

Aki Tuomi aki.tuomi at dovecot.fi
Mon Sep 10 18:10:51 EEST 2018


Have you attempted this as non-root user?


---Aki TuomiDovecot oy
-------- Original message --------From: Eric Broch <ebroch at whitehorsetc.com> Date: 10/09/2018  18:03  (GMT+02:00) To: dovecot at dovecot.org Subject: Re: make check (pigeonhole) 
Dovecot list,

1) I downloaded latest dovecot and pigeonhole tar balls and extracted on 
latest updated CentOS 7 : dovecot-2.3.2.1.tar.gz and 
dovecot-2.3-pigeonhole-0.5.2.tar.gz

2) I moved pigeonhole (dovecot-2.3-pigeonhole-0.5.2) directory into 
dovecot (dovecot-2.3.2.1) directory

3) built dovecot with following config and paramerters:

patch -p1 < ../../SOURCES/dovecot-2.0-defaultconfig.patch
patch -p1 < ../../SOURCES/dovecot-1.0.beta2-mkcert-permissions.patch
patch -p1 < ../../SOURCES/dovecot-2.2.27-mkcert-paths.patch

sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags 
libclucene-core)|" src/plugins/fts-lucene/Makefile.in

#export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-fno-strict-aliasing"
#export LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-z,relro"
aclocal --install -I m4
autoreconf -I . -fiv

./configure                                     \
     INSTALL_DATA="install -c -p -m644"         \
     --docdir=/usr/share/doc/dovecot-2.3.2.1     \
     --disable-static                           \
     --disable-rpath                            \
     --with-nss                                 \
     --with-shadow                              \
     --with-pam                                 \
     --with-gssapi=plugin                       \
     --with-ldap=plugin                         \
     --with-sql=plugin                          \
     --with-lua=plugin                          \
     --with-pgsql                               \
     --with-mysql                               \
     --with-sqlite                              \
     --with-vpopmail=/etc/libvpopmail           \
     --with-zlib                                \
     --with-libcap                              \
     --with-libwrap                             \
     --with-lucene                              \
     --with-ssl=openssl                         \
     --with-ssldir=/etc/pki/dovecot             \
     --with-solr                                \
     --with-systemdsystemunitdir=/usr/lib/systemd/system    \
     --with-docs

sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh 
doc/example-config/conf.d/10-ssl.conf

make -j3

4) built pigeon hole with the following paramters:

# required for snapshot
[ -f configure ] || autoreconf -fiv
[ -f ChangeLog ] || echo "Pigeonhole ChangeLog is not available, yet" 
 >ChangeLog

./configure                             \
     INSTALL_DATA="install -c -p -m644" \
     --disable-static                   \
     --with-dovecot=../ \
     --with-ldap=plugin \
     --without-unfinished-features

make -j3

5) during 'make check' of pigeonhole got the following error:

make[3]: Entering directory 
`/root/rpmbuild/SRPMS/dovecot-2.3.2.1/dovecot-2.3-pigeonhole-0.5.2/src/lib-sieve/util'
for bin in test-edit-mail; do \
   if ! /bin/sh ../../../run-test.sh ../../.. ./$bin; then exit 1; fi; \
done
test-edit-header(root): Error: Cannot lookup test user: Mail access for 
users with UID 89 not permitted (see first_valid_uid in config file, uid 
from mail_uid setting).
../../../run-test.sh: line 27: 29930 Segmentation fault      (core 
dumped) valgrind -q --trace-children=yes --leak-check=full 
--log-file=test.out.$$ $noundef $*
==29930== Invalid read of size 8
==29930==    at 0x404699: mail_raw_user_create (mail-raw.c:142)
==29930==    by 0x40325B: test_init (test-edit-mail.c:105)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==  Address 0xb8 is not stack'd, malloc'd or (recently) free'd
==29930==
==29930==
==29930== Process terminating with default action of signal 11 (SIGSEGV)
==29930==  Access not within mapped region at address 0xB8
==29930==    at 0x404699: mail_raw_user_create (mail-raw.c:142)
==29930==    by 0x40325B: test_init (test-edit-mail.c:105)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==  If you believe this happened as a result of a stack
==29930==  overflow in your program's main thread (unlikely but
==29930==  possible), you can try to increase the size of the
==29930==  main thread stack using the --main-stacksize= flag.
==29930==  The main thread stack size used in this run was 8388608.
==29930== 64 bytes in 1 blocks are possibly lost in loss record 35 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D2FD: p_malloc (mempool.h:99)
==29930==    by 0x525D2FD: hash_table_create (hash.c:70)
==29930==    by 0x51F377C: settings_parser_init_list (settings-parser.c:215)
==29930==    by 0x51ED102: master_service_settings_read 
(master-service-settings.c:595)
==29930==    by 0x51EE3A9: master_service_settings_cache_read 
(master-service-settings-cache.c:387)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==
==29930== 64 bytes in 1 blocks are possibly lost in loss record 36 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D2FD: p_malloc (mempool.h:99)
==29930==    by 0x525D2FD: hash_table_create (hash.c:70)
==29930==    by 0x51F2EA3: settings_parser_dup (settings-parser.c:1957)
==29930==    by 0x51EE844: cache_add (master-service-settings-cache.c:291)
==29930==    by 0x51EE844: master_service_settings_cache_read 
(master-service-settings-cache.c:409)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==
==29930== 64 bytes in 1 blocks are possibly lost in loss record 37 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D2FD: p_malloc (mempool.h:99)
==29930==    by 0x525D2FD: hash_table_create (hash.c:70)
==29930==    by 0x51F2EA3: settings_parser_dup (settings-parser.c:1957)
==29930==    by 0x4E8792F: mail_storage_service_lookup_real 
(mail-storage-service.c:1324)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 128 bytes in 1 blocks are possibly lost in loss record 48 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x403159: test_init (test-edit-mail.c:101)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 256 bytes in 1 blocks are possibly lost in loss record 52 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
==29930==    by 0x528A74E: p_malloc (mempool.h:99)
==29930==    by 0x528A74E: p_strdup_vprintf (strfuncs.c:167)
==29930==    by 0x528A833: p_strdup_printf (strfuncs.c:111)
==29930==    by 0x40318E: test_init_mail_user (test-edit-mail.c:52)
==29930==    by 0x40318E: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 256 bytes in 1 blocks are possibly lost in loss record 53 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x5272941: event_create (lib-event.c:54)
==29930==    by 0x4E8797C: mail_storage_service_lookup_real 
(mail-storage-service.c:1334)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 512 bytes in 1 blocks are possibly lost in loss record 56 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
==29930==    by 0x5272952: p_malloc (mempool.h:99)
==29930==    by 0x5272952: event_create (lib-event.c:56)
==29930==    by 0x4E8797C: mail_storage_service_lookup_real 
(mail-storage-service.c:1334)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 1,024 bytes in 1 blocks are possibly lost in loss record 59 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x51F3741: settings_parser_init_list (settings-parser.c:204)
==29930==    by 0x51ED102: master_service_settings_read 
(master-service-settings.c:595)
==29930==    by 0x51EE3A9: master_service_settings_cache_read 
(master-service-settings-cache.c:387)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==
==29930== 1,024 bytes in 1 blocks are possibly lost in loss record 60 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x51F2D14: settings_parser_dup (settings-parser.c:1924)
==29930==    by 0x51EE844: cache_add (master-service-settings-cache.c:291)
==29930==    by 0x51EE844: master_service_settings_cache_read 
(master-service-settings-cache.c:409)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==
==29930== 1,024 bytes in 1 blocks are possibly lost in loss record 61 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x51F2D14: settings_parser_dup (settings-parser.c:1924)
==29930==    by 0x4E8792F: mail_storage_service_lookup_real 
(mail-storage-service.c:1324)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 1,024 bytes in 1 blocks are possibly lost in loss record 62 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
==29930==    by 0x5250ED5: p_malloc (mempool.h:99)
==29930==    by 0x5250ED5: buffer_alloc (buffer.c:34)
==29930==    by 0x525110C: buffer_create_dynamic (buffer.c:143)
==29930==    by 0x5272805: array_create_i (array.h:129)
==29930==    by 0x5272805: event_get_field (lib-event.c:383)
==29930==    by 0x5273283: event_add_str (lib-event.c:400)
==29930==    by 0x5273437: event_add_fields (lib-event.c:438)
==29930==    by 0x4E879FD: mail_storage_service_lookup_real 
(mail-storage-service.c:1335)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==
==29930== 1,608 bytes in 1 blocks are possibly lost in loss record 67 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D33D: p_malloc (mempool.h:99)
==29930==    by 0x525D33D: hash_table_create (hash.c:79)
==29930==    by 0x51F377C: settings_parser_init_list (settings-parser.c:215)
==29930==    by 0x51ED102: master_service_settings_read 
(master-service-settings.c:595)
==29930==    by 0x51EE3A9: master_service_settings_cache_read 
(master-service-settings-cache.c:387)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==
==29930== 1,608 bytes in 1 blocks are possibly lost in loss record 68 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D33D: p_malloc (mempool.h:99)
==29930==    by 0x525D33D: hash_table_create (hash.c:79)
==29930==    by 0x51F2EA3: settings_parser_dup (settings-parser.c:1957)
==29930==    by 0x51EE844: cache_add (master-service-settings-cache.c:291)
==29930==    by 0x51EE844: master_service_settings_cache_read 
(master-service-settings-cache.c:409)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==
==29930== 1,608 bytes in 1 blocks are possibly lost in loss record 69 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277AB5: pool_system_malloc (mempool-system.c:75)
==29930==    by 0x525D33D: p_malloc (mempool.h:99)
==29930==    by 0x525D33D: hash_table_create (hash.c:79)
==29930==    by 0x51F2EA3: settings_parser_dup (settings-parser.c:1957)
==29930==    by 0x4E8792F: mail_storage_service_lookup_real 
(mail-storage-service.c:1324)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 2,048 bytes in 1 blocks are possibly lost in loss record 70 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x4E8C454: mailbox_attributes_init (mailbox-attribute.c:17)
==29930==    by 0x4E7F2F5: mail_storage_init (mail-storage.c:70)
==29930==    by 0x4E87139: mail_storage_service_init 
(mail-storage-service.c:975)
==29930==    by 0x403205: test_init_mail_user (test-edit-mail.c:66)
==29930==    by 0x403205: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 2,048 bytes in 1 blocks are possibly lost in loss record 71 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x4E8714A: mail_storage_service_init 
(mail-storage-service.c:977)
==29930==    by 0x403205: test_init_mail_user (test-edit-mail.c:66)
==29930==    by 0x403205: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 2,048 bytes in 1 blocks are possibly lost in loss record 72 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
==29930==    by 0x528AA66: p_malloc (mempool.h:99)
==29930==    by 0x528AA66: p_strconcat (strfuncs.c:223)
==29930==    by 0x51F40ED: settings_parse_keyvalue (settings-parser.c:845)
==29930==    by 0x51F50E0: settings_parse_environ (settings-parser.c:1103)
==29930==    by 0x51ED247: master_service_settings_read 
(master-service-settings.c:648)
==29930==    by 0x51EE3A9: master_service_settings_cache_read 
(master-service-settings-cache.c:387)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==
==29930== 6,144 bytes in 1 blocks are possibly lost in loss record 74 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x4E876FA: mail_storage_service_lookup_real 
(mail-storage-service.c:1238)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 12,288 bytes in 1 blocks are possibly lost in loss record 75 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x51EDD31: master_service_settings_cache_init 
(master-service-settings-cache.c:75)
==29930==    by 0x4E87541: mail_storage_service_read_settings 
(mail-storage-service.c:1073)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==    by 0x402FE5: main (test-edit-mail.c:765)
==29930==
==29930== 16,384 bytes in 1 blocks are possibly lost in loss record 76 of 77
==29930==    at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==    by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==    by 0x527768C: pool_alloconly_create (mempool-alloconly.c:138)
==29930==    by 0x51ED84C: master_service_settings_read 
(master-service-settings.c:580)
==29930==    by 0x51EE3A9: master_service_settings_cache_read 
(master-service-settings-cache.c:387)
==29930==    by 0x4E874BF: mail_storage_service_read_settings 
(mail-storage-service.c:1085)
==29930==    by 0x4E87745: mail_storage_service_lookup_real 
(mail-storage-service.c:1249)
==29930==    by 0x4E88795: mail_storage_service_lookup 
(mail-storage-service.c:1441)
==29930==    by 0x403223: test_init_mail_user (test-edit-mail.c:71)
==29930==    by 0x403223: test_init (test-edit-mail.c:103)
==29930==    by 0x4036DA: test_edit_mail_concatenated (test-edit-mail.c:187)
==29930==    by 0x524D8B1: test_run_funcs (test-common.c:244)
==29930==    by 0x524E280: test_run (test-common.c:315)
==29930==
Failed to run: ./test-edit-mail

*Note: Previous versions of pigeonhole did a 'make check' successfully 
even the first version of 2.3 (CE). Pigeonhole v0.5.1 and v0.5.2 fail on 
CentOS 7

Help would be appreciated.


On 9/9/2018 3:11 PM, Eric Broch wrote:
> Anyone?
>
>
> On 9/8/2018 7:36 PM, Eric Broch wrote:
>> Hello list,
>>
>> During the 'make check' (pigeonhole) portion of a building (rpmbuild) 
>> a dovecot.spec file I'm getting the following error:
>>
>> testsuite(root): Fatal: Couldn't drop privileges: User is missing UID 
>> (see mail_uid setting)
>>
>> I'm not sure how to resolve this, and any help would be appreciated 
>> to help me finish the creating the rpm
>>
>

-- 
Eric Broch
White Horse Technical Consulting (WHTC)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180910/e7333497/attachment.html>


More information about the dovecot mailing list