1 |
Hi! |
2 |
|
3 |
Finally after 2 weeks of debugging, rebuilding glibc, libdb, |
4 |
evolution about 10 times each and breaking my system two times I've |
5 |
found the problem why evolution >= 0.11 has been segfaulting on Gentoo |
6 |
all the time. |
7 |
|
8 |
The problem lies in nss-db and the fact that we default to it. |
9 |
The problem is that Evolution builds against libdb3 3.1.17 statically. |
10 |
What then happends is: |
11 |
|
12 |
1) start wombat (part of evo) |
13 |
2) calls getpwuid () |
14 |
3) glibc looks in /etc/nsswitch.conf |
15 |
4) it sees that it should use libnss_db which links to libdb-3.2.so |
16 |
5) we now have a binary running with libdb 3.1.17 statically linked |
17 |
and libdb-3.2.so dyn. running. |
18 |
6) what happends then is (I think) that it confuses the symbols from |
19 |
libdb 3.1.17 with those from libdb 3.2.3 and segfaults. |
20 |
|
21 |
So, could we please remove nss-db from 'emerge system' and change the |
22 |
nsswitch.conf to something more sane, I've spook to Daniel about this |
23 |
and he agrees that we should indeed do this. |
24 |
|
25 |
This is the nsswitch.conf from Debian: |
26 |
|
27 |
passwd: compat |
28 |
group: compat |
29 |
shadow: compat |
30 |
|
31 |
hosts: files dns |
32 |
networks: files |
33 |
|
34 |
protocols: db files |
35 |
services: db files |
36 |
ethers: db files |
37 |
rpc: db files |
38 |
|
39 |
netgroup: nis |
40 |
|
41 |
Regards, |
42 |
Mikael Hallendal |
43 |
|
44 |
-- |
45 |
Mikael Hallendal micke@×××××××××××.se |
46 |
CodeFactory AB http://www.codefactory.se/ |
47 |
Office: +46 (0)8 587 583 05 Cell: +46 (0)709 718 918 |