1 |
there's a strange problem with the keyserv from nis-utils package. |
2 |
|
3 |
it doesn't start within the init.d script |
4 |
and when i try to run keyserv manually it cores dump |
5 |
|
6 |
i do everything as said: before nfs nfs-mount autofs and after portmap |
7 |
but it seems not work anyway |
8 |
|
9 |
i've tried to run keyserv on two different systems: amd64 (32bit version) |
10 |
and PIV with hyperthreading. without any flags in make.conf at first |
11 |
and then with standard ones. on both machines keyserv was unable to start |
12 |
:( |
13 |
|
14 |
what is my mistake? |
15 |
|
16 |
|
17 |
moon ~ # keyserv -D |
18 |
[Welcome to the Keyserver, version 1.4.1] |
19 |
Segmentation fault |
20 |
|
21 |
|
22 |
Gentoo Base System release 1.12.9 |
23 |
|
24 |
moon ~ # ls -al /etc/make.profile |
25 |
/etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.1/server |
26 |
|
27 |
moon ~ # equery list | grep nis |
28 |
net-nds/nis-utils-1.4.1-r2 |
29 |
|
30 |
here's a gdb backtrace: |
31 |
~ # gdb -c core /usr/sbin/keyserv |
32 |
GNU gdb 6.6 |
33 |
Copyright (C) 2006 Free Software Foundation, Inc. |
34 |
GDB is free software, covered by the GNU General Public License, and you |
35 |
are |
36 |
welcome to change it and/or distribute copies of it under certain |
37 |
conditions. |
38 |
Type "show copying" to see the conditions. |
39 |
There is absolutely no warranty for GDB. Type "show warranty" for |
40 |
details. |
41 |
This GDB was configured as "i686-pc-linux-gnu"... |
42 |
(no debugging symbols found) |
43 |
Using host libthread_db library "/lib/libthread_db.so.1". |
44 |
|
45 |
warning: Can't read pathname for load map: Input/output error. |
46 |
Reading symbols from /usr/lib/libgmp.so.3...(no debugging symbols |
47 |
found)...done. |
48 |
Loaded symbols for /usr/lib/libgmp.so.3 |
49 |
Reading symbols from /lib/libc.so.6...(no debugging symbols |
50 |
found)...done.Loaded symbols for /lib/libc.so.6 |
51 |
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols |
52 |
found)...done. |
53 |
Loaded symbols for /lib/ld-linux.so.2 |
54 |
(no debugging symbols found) |
55 |
Core was generated by `keyserv -D'. |
56 |
Program terminated with signal 11, Segmentation fault. |
57 |
#0 0xb7f8b1da in __gmpz_init_set_str () from /usr/lib/libgmp.so.3 |
58 |
(gdb) bt |
59 |
#0 0xb7f8b1da in __gmpz_init_set_str () from /usr/lib/libgmp.so.3 |
60 |
#1 0x0804b013 in ?? () |
61 |
#2 0x00000000 in ?? () |
62 |
|
63 |
|
64 |
and here's a strace http://paste.org.ru/?asfoy2 |
65 |
-- |
66 |
gentoo-user@g.o mailing list |