Gentoo Archives: gentoo-user

From: Konstantin <myownletters@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cyrus-sasl and multiple berkdb segfault
Date: Fri, 27 Jan 2017 18:10:38
Message-Id: CABOOiQWsME9xfnqA-JXLPXEbLPuiVZYi6vOkoq6w1fg7Z=aftA@mail.gmail.com
1 Hello Guys,
2
3 On one of my gentoo servers i had dev-libs/cyrus-sasl installed for some
4 time. Users configured for sasl auth.
5 After last system update i found that 'sasldblistusers2' and other commands
6 broken:
7
8 # sasldblistusers2
9 Successful return: 0
10 Segmentation fault
11
12 # ldd `which sasldblistusers2`
13 linux-vdso.so.1 (0x00007ffcaa381000)
14 libsasl2.so.3 => /usr/lib64/libsasl2.so.3 (0x00007f4fbac90000)
15 libdb-4.8.so => /usr/lib64/libdb-4.8.so (0x00007f4fba910000)
16 libc.so.6 => /lib64/libc.so.6 (0x00007f4fba577000)
17 libdl.so.2 => /lib64/libdl.so.2 (0x00007f4fba373000)
18 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4fba157000)
19 /lib64/ld-linux-x86-64.so.2 (0x00007f4fbaeae000)
20
21 And finally i found that 2 different version of sys-libs/db installed:
22
23 # eix -I sys-libs/db
24 [I] sys-libs/db
25 Available versions:
26 (1) 1.85-r3
27 (3) 3.2.9_p2
28 (4.2) 4.2.52_p5-r1
29 (4.3) 4.3.29_p1-r1
30 (4.4) ~4.4.20_p4-r1
31 (4.5) 4.5.20_p2-r1
32 (4.6) 4.6.21_p4
33 (4.7) 4.7.25_p4
34 (4.8) 4.8.30-r2{tbz2}
35 (5.1) ~5.1.29-r1
36 (5.3) 5.3.28-r2{tbz2}
37 (6.0) ~6.0.35
38 (6.1) [M]~6.1.29
39 (6.2) [M]~6.2.23
40 {cxx doc examples java rpc tcl test ABI_MIPS="n32 n64 o32"
41 ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" ELIBC="FreeBSD"}
42 Installed versions: 4.8.30-r2(4.8){tbz2}(03:50:39 AM 07/28/2016)(cxx
43 -doc -examples -java -tcl -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
44 ABI_S390="-32 -64" ABI_X86="64 -32 -x32" ELIBC="-FreeBSD")
45 5.3.28-r2(5.3){tbz2}(04:57:46 PM 01/27/2017)(cxx -doc -examples -java -tcl
46 -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
47 ABI_X86="64 -32 -x32" ELIBC="-FreeBSD")
48 Homepage:
49 http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html
50 Description: Oracle Berkeley DB
51
52 eix -I dev-libs/cyrus-sasl
53 [I] dev-libs/cyrus-sasl
54 Available versions: (2) 2.1.26-r9{tbz2} ~2.1.26-r10
55 (~)2.1.26-r11{tbz2}
56 {authdaemond berkdb gdbm java kerberos ldapdb libressl mysql
57 openldap pam postgres sample selinux sqlite srp ssl static-libs urandom
58 ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"
59 ELIBC="FreeBSD"}
60 Installed versions: 2.1.26-r11(2){tbz2}(05:29:23 PM
61 01/27/2017)(berkdb pam ssl urandom -authdaemond -gdbm -java -kerberos
62 -ldapdb -libressl -mysql -openldap -postgres -sample -selinux -sqlite -srp
63 -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
64 ABI_X86="64 -32 -x32" ELIBC="-FreeBSD")
65
66 I tried to unmerge sys-libs/db-5.3.28-r2 but i see another packages (perl
67 and some modules) already compiled against db-5.
68 Also i rebuild cyrus-sasl dut it did not help.
69 revdep-rebuild said 'Your system is consistent'.
70
71 Can anyone help me to fix cyrus-sasl?
72
73 Thanks.
74 --
75 *This message was delivered using 100% recycled electrons*.