Odp: Gentoo Hardened
Miałem podobne opcje wielokrotnie.
2007/9/2, Jerzy Kolosowski jerzykolosowski@poczta.onet.pl:
Na początek wersja lms:
*Wersja LMS: http://www.lms.org.pl* 1.11-cvs (1.875/1.20) *Wersja LMSDB: http://www.lms.org.pl* 1.11-cvs (1.43/1.49) *Wersja MySQL: http://www.mysql.com * 5.0.45-log *Wersja PHP: http://www.php.net/* 5.2.4_pre200708051230-pl2-gentoo *Wersja Smarty: http://smarty.php.net* 2.6.18
i wersja linuxa:
Gentoo Linux hell 2.6.20-hardened-r6 #4 SMP Sat Aug 25 16:20:29 CEST 2007 i686 AMD Athlon(tm) MP 1800+ AuthenticAMD GNU/Linux gcc 4.2 (próbowałem i na gcc 3.3.6) glibc 2.6 binutils 2.18
W nawiązaniu do dość starego wątku, mam to samo Przy próbie przeładowania modułu dns, występuje błąd:
*** glibc detected *** lmsd: reload: corrupted double-linked list: 0x08073a80 *** ======= Backtrace: ========= /lib/libc.so.6[0xaa7428b2] /lib/libc.so.6[0xaa7429b0] /lib/libc.so.6[0xaa744710] /lib/libc.so.6(calloc+0xd2)[0xaa745e32] /lib/libc.so.6(open_memstream+0x5d)[0xaa73b5ed] /lib/libc.so.6(__vsyslog_chk+0x78)[0xaa79a208] /lib/libc.so.6(syslog+0x2a)[0xaa79a74a] lmsd: reload(termination_handler+0x56)[0x804bd86] lmsd: reload[0x804cd00] /lib/libc.so.6(__libc_start_main+0xe0)[0xaa6f39d0] lmsd: reload[0x8049b41] ======= Memory map: ======== 08048000-0804e000 r-xp 00000000 fd:22 527158 /usr/bin/lmsd 0804e000-08050000 rw-p 00006000 fd:22 527158 /usr/bin/lmsd 08050000-0807d000 rw-p 08050000 00:00 0 [heap] aa300000-aa321000 rw-p aa300000 00:00 0 aa321000-aa400000 ---p aa321000 00:00 0 aa4f0000-aa4f1000 rw-p aa4f0000 00:00 0 aa4f1000-aa500000 r-xp 00000000 fd:16 98424 /lib/libz.so.1.2.3 aa500000-aa501000 rw-p 0000e000 fd:16 98424 /lib/libz.so.1.2.3 aa501000-aa61e000 r-xp 00000000 fd:22 1200361 /usr/lib/libcrypto.so.0.9.8 aa61e000-aa633000 rw-p 0011c000 fd:22 1200361 /usr/lib/libcrypto.so.0.9.8 aa633000-aa636000 rw-p aa633000 00:00 0 aa636000-aa671000 r-xp 00000000 fd:22 1201203 /usr/lib/libssl.so.0.9.8 aa671000-aa675000 rw-p 0003a000 fd:22 1201203 /usr/lib/libssl.so.0.9.8 aa675000-aa676000 rw-p aa675000 00:00 0 aa676000-aa698000 r-xp 00000000 fd:16 98979 /lib/libm-2.6.1.so aa698000-aa69a000 rw-p 00021000 fd:16 98979 /lib/libm-2.6.1.so aa69a000-aa6ac000 r-xp 00000000 fd:16 98993 /lib/libnsl-2.6.1.so aa6ac000-aa6ae000 rw-p 00011000 fd:16 98993 /lib/libnsl-2.6.1.so aa6ae000-aa6b0000 rw-p aa6ae000 00:00 0 aa6b0000-aa6b5000 r-xp 00000000 fd:16 98492 /lib/libcrypt-2.6.1.so aa6b5000-aa6b7000 rw-p 00004000 fd:16 98492 /lib/libcrypt-2.6.1.so aa6b7000-aa6de000 rw-p aa6b7000 00:00 0 aa6de000-aa805000 r-xp 00000000 fd:16 98977 /lib/libc-2.6.1.so aa805000-aa806000 r--p 00126000 fd:16 98977 /lib/libc-2.6.1.so aa806000-aa808000 rw-p 00127000 fd:16 98977 /lib/libc-2.6.1.so aa808000-aa80b000 rw-p aa808000 00:00 0 aa80b000-aa80d000 r-xp 00000000 fd:16 98980 /lib/libdl-2.6.1.so aa80d000-aa80f000 rw-p 00001000 fd:16 98980 /lib/libdl-2.6.1.so aa80f000-aa926000 r-xp 00000000 fd:22 1229949 /usr/lib/mysql/libmysqlclient.so.15.0.0 aa926000-aa968000 rw-p 00117000 fd:22 1229949 /usr/lib/mysql/libmysqlclient.so.15.0.0 aa968000-aa96a000 rw-p aa968000 00:00 0 aa970000-aa97a000 r-xp 00000000 fd:22 1247780 /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgcc_s.so.1 aa97a000-aa97b000 rw-p 00009000 fd:22 1247780 /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgcc_s.so.1 aa97b000-aa983000 r-xp 00000000 fd:16 98986 /lib/libnss_files-2.6.1.so aa983000-aa985000 rw-p 00007000 fd:16 98986 /lib/libnss_files-2.6.1.so aa985000-aa98c000 r--s 00000000 fd:22 1448085 /usr/lib/gconv/gconv-modules.cache aa98c000-aa98d000 r--p 00000000 fd:22 1310836 /usr/lib/locale/pl_PL.utf8/LC_TIME aa98d000-aa98e000 r-xp aa98d000 00:00 0 [vdso] aa98e000-aa9a8000 r-xp 00000000 fd:16 98557 /lib/ld-2.6.1.so aa9a8000-aa9aa000 rw-p 00019000 fd:16 98557 /lib/ld-2.6.1.so b3416000-b342b000 rw-p b3416000 00:00 0 [stack]
komenda strace "lmsd -p lms -r" daje wynik:
execve("/usr/bin/lmsd", ["lmsd", "-p", "lms", "-r"], [/* 51 vars */]) = 0 brk(0) = 0x8055aac access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=141941, ...}) = 0 mmap2(NULL, 141941, PROT_READ, MAP_PRIVATE, 3, 0) = 0xad916000 close(3) = 0 open("/usr/lib/libmysqlclient.so.15", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2205\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1411368, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad915000 mmap2(NULL, 1413600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad7bb000 mmap2(0xad8d2000, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x117) = 0xad8d2000 mmap2(0xad914000, 480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xad914000 close(3) = 0 open("/lib/libdl.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\f\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9568, ...}) = 0 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad7b7000 mmap2(0xad7b9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xad7b9000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000[\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1220848, ...}) = 0 mmap2(NULL, 1230280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad68a000 mmap2(0xad7b1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x126) = 0xad7b1000 mmap2(0xad7b4000, 9672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xad7b4000 close(3) = 0 open("/lib/libcrypt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\10\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=21792, ...}) = 0 mmap2(NULL, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad65c000 mmap2(0xad661000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xad661000 mmap2(0xad663000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xad663000 close(3) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 7\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=75404, ...}) = 0 mmap2(NULL, 88040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad646000 mmap2(0xad658000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xad658000 mmap2(0xad65a000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xad65a000 close(3) = 0 open("/lib/libm.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0004\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=141020, ...}) = 0 mmap2(NULL, 143488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad622000 mmap2(0xad644000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21) = 0xad644000 close(3) = 0 open("/usr/lib/libssl.so.0.9.8", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\263\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=253376, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad621000 mmap2(NULL, 256468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad5e2000 mmap2(0xad61d000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xad61d000 close(3) = 0 open("/usr/lib/libcrypto.so.0.9.8", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@c\3\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0555, st_size=1247088, ...}) = 0 mmap2(NULL, 1263704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad4ad000 mmap2(0xad5ca000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11c) = 0xad5ca000 mmap2(0xad5df000, 10328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xad5df000 close(3) = 0 open("/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\24\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=59204, ...}) = 0 mmap2(NULL, 62160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xad49d000 mmap2(0xad4ac000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xad4ac000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad49c000 set_thread_area({entry_number:-1 -> 6, base_addr:0xad49c950, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xad7b1000, 4096, PROT_READ) = 0 munmap(0xad916000, 141941) = 0 brk(0) = 0x8055aac brk(0x8076aac) = 0x8076aac brk(0x8077000) = 0x8077000 time(NULL) = 1188727170 open("/etc/localtime", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad938000 read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0\n\0\0\0\0"..., 4096) = 2679 close(3) = 0 munmap(0xad938000, 4096) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 socket(PF_FILE, SOCK_DGRAM, 0) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = -1 EPROTOTYPE (Protocol wrong type for socket) close(3) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0 send(3, "<14>Sep 2 11:59:30 lmsd: LMS Da"..., 46, MSG_NOSIGNAL) = 46 uname({sys="Linux", node="hell", ...}) = 0 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2586, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad938000 read(4, "# Locale name alias data base.\n#"..., 4096) = 2586 read(4, "", 4096) = 0 close(4) = 0 munmap(0xad938000, 4096) = 0 open("/usr/lib/locale/pl_PL.utf8/LC_TIME", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=2354, ...}) = 0 mmap2(NULL, 2354, PROT_READ, MAP_PRIVATE, 4, 0) = 0xad938000 close(4) = 0 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0 mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 4, 0) = 0xad931000 close(4) = 0 rt_sigaction(SIGCHLD, {0x804bd90, [], 0}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x804bd30, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {0x804bd30, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0 time(NULL) = 1188727170 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0 send(4, "\2\0\0\0\22\0\0\0\t\0\0\0services\0", 21, MSG_NOSIGNAL) = 21 poll([{fd=4, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLHUP}], 1, 5000) = 1 recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\366\256y\255\r3|\255\0", 9}], msg_controllen=0, msg_flags=0}, 0) = 0 close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0 send(4, "\2\0\0\0\20\0\0\0\n\0\0\0mysql/tcp\0", 22, MSG_NOSIGNAL) = 22 poll([{fd=4, events=POLLIN|POLLERR|POLLHUP, revents=POLLIN|POLLHUP}], 1, 5000) = 1 read(4, "\2\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377", 24) = 24 close(4) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad930000 read(4, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508 read(4, "", 4096) = 0 close(4) = 0 munmap(0xad930000, 4096) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=141941, ...}) = 0 mmap2(NULL, 141941, PROT_READ, MAP_PRIVATE, 4, 0) = 0xad479000 close(4) = 0 open("/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls/i686", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/tls", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib/i686", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0 open("/usr/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls/i686", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/tls", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/usr/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/i686", 0xb969bfe4) = -1 ENOENT (No such file or directory) open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=126976, ...}) = 0 munmap(0xad479000, 141941) = 0 open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=141941, ...}) = 0 mmap2(NULL, 141941, PROT_READ, MAP_PRIVATE, 4, 0) = 0xad479000 close(4) = 0 open("/lib/libnss_files.so.2", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33\0\0004\0\0\0"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=34200, ...}) = 0 mmap2(NULL, 37528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xad927000 mmap2(0xad92f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xad92f000 close(4) = 0 munmap(0xad479000, 141941) = 0 open("/etc/services", O_RDONLY) = 4 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=35877, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xad926000 read(4, "# /etc/services\n#\n# Network serv"..., 4096) = 4096 read(4, " private\t77/tcp\t\t\t\t# any private"..., 4096) = 4096 read(4, "/udp\nimap\t\t143/tcp\t\timap2\t\t# Int"..., 4096) = 4096 read(4, "\t\t# scoi2odialog\nscoi2odialog\t36"..., 4096) = 4096 read(4, "ll\ncryptoadmin\t624/tcp\t\t\t\t# Cryp"..., 4096) = 4096 read(4, "ent\nica\t\t1494/udp\nwins\t\t1512/tcp"..., 4096) = 4096 read(4, "9/tcp\t\t\t# \nlstp\t\t2559/udp\nmon\t\t2"..., 4096) = 4096 close(4) = 0 munmap(0xad926000, 4096) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl64(4, F_SETFL, O_RDONLY) = 0 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) connect(4, {sa_family=AF_FILE, path="/var/run/mysqld/mysqld.sock"}, 110) = 0 setsockopt(4, SOL_SOCKET, SO_RCVTIMEO, "\2003\341\1\0\0\0\0", 8) = 0 setsockopt(4, SOL_SOCKET, SO_SNDTIMEO, "\2003\341\1\0\0\0\0", 8) = 0 setsockopt(4, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported) setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 read(4, "8\0\0\0\n5.0.45-log\0\343\7\0\0-y?k}Sf)\0,\242!"..., 16384) = 60 stat64("/usr/share/mysql/charsets/Index.xml", {st_mode=S_IFREG|0644, st_size=18173, ...}) = 0 open("/usr/share/mysql/charsets/Index.xml", O_RDONLY|O_LARGEFILE) = 5 read(5, "<?xml version='1.0' encoding="ut"..., 18173) = 18173 close(5) = 0 write(4, "=\0\0\1\215\242\0\0\0\0\0@!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 65) = 65 read(4, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\17\0\0\0\3SET NAMES utf8", 19) = 19 read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\244\0\0\0\3SELECT module, crontab, dae"..., 168) = 168 read(4, "\1\0\0\1\3C\0\0\2\3def\3lms\17daemoninstance"..., 16384) = 259 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\1\0\0\0\1", 5) = 5 shutdown(4, 2 /* send and receive */) = 0 close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl64(4, F_SETFL, O_RDONLY) = 0 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) connect(4, {sa_family=AF_FILE, path="/var/run/mysqld/mysqld.sock"}, 110) = 0 setsockopt(4, SOL_SOCKET, SO_RCVTIMEO, "\2003\341\1\0\0\0\0", 8) = 0 setsockopt(4, SOL_SOCKET, SO_SNDTIMEO, "\2003\341\1\0\0\0\0", 8) = 0 setsockopt(4, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported) setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 read(4, "8\0\0\0\n5.0.45-log\0\344\7\0\0tGEeN5\R\0,\242!"..., 16384) = 60 write(4, "=\0\0\1\215\242\0\0\0\0\0@!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 65) = 65 read(4, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\17\0\0\0\3SET NAMES utf8", 19) = 19 read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "O\0\0\0\3UPDATE hosts SET lastreload"..., 83) = 83 read(4, "0\0\0\1\0\1\0\2\0\0\0(Rows matched: 1 Cha"..., 16384) = 52 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\346\0\0\0\3SELECT daemoninstances.name"..., 234) = 234 read(4, "\1\0\0\1\3B\0\0\2\3def\3lms\17daemoninstance"..., 16384) = 918 open("/usr/lib/lms/dns.so", O_RDONLY) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\10\0\0004\0\0\0"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=15479, ...}) = 0 mmap2(NULL, 17568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xad922000 mmap2(0xad925000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2) = 0xad925000 close(5) = 0 mprotect(0xad925000, 4096, PROT_READ) = 0 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "S\0\0\0\3SELECT LOWER(name) AS name,"..., 87) = 87 read(4, "\1\0\0\1\4\32\0\0\2\3def\0\0\0\4name\0\f!\0000\0\0\0\375\1\0"..., 16384) = 484 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "F\0\0\0\3SELECT inet_ntoa(address) A"..., 74) = 74 read(4, "\1\0\0\1\4\35\0\0\2\3def\0\0\0\7address\0\f?\0\37\0\0\0"..., 16384) = 270 open("/srv/named/var/bind/templates/named.conf", O_RDONLY) = 5 read(5, "options {\n\tdirectory "/var/bind""..., 1024) = 425 read(5, "", 1024) = 0 close(5) = 0 open("/srv/named/var/bind/templates/forward/wolka.net", O_RDONLY) = 5 read(5, "$ORIGIN %d.\n@\t\tIN\tSOA\tns1.%d.\tho"..., 1024) = 670 read(5, "", 1024) = 0 close(5) = 0 open("/srv/named/var/bind/templates/reverse/192.168.0.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/srv/named/var/bind/reverse/generic", O_RDONLY) = -1 ENOENT (No such file or directory) time(NULL) = 1188727170 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 send(3, "<12>Sep 2 11:59:30 lmsd: [dns/d"..., 181, MSG_NOSIGNAL) = 181 open("/srv/named/etc/bind/named.conf", O_WRONLY|O_CREAT|O_TRUNC, 0644) = 5 write(5, "options {\n\tdirectory "/var/bind""..., 423) = 423 close(5) = 0 rt_sigaction(SIGINT, {SIG_IGN}, {0x804bd30, [INT], SA_RESTART}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0xb969c594) = 17978 waitpid(17978, * Starting chrooted named ... [ !! ] [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 17978 rt_sigaction(SIGINT, {0x804bd30, [INT], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, NULL, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) munmap(0xad922000, 17568) = 0 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 write(4, "\1\0\0\0\1", 5) = 5 shutdown(4, 2 /* send and receive */) = 0 close(4) = 0 open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = 4 writev(4, [{"*** glibc detected *** ", 23}, {"lmsd: reload", 12}, {": ", 2}, {"corrupted double-linked list", 28}, {": 0x", 4}, {"0806eef0", 8}, {" ***\n", 5}], 7*** glibc detected *** lmsd: reload: corrupted double-linked list: 0x0806eef0 *** ) = 82 open("/etc/ld.so.cache", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=141941, ...}) = 0 mmap2(NULL, 141941, PROT_READ, MAP_PRIVATE, 5, 0) = 0xad479000 close(5) = 0 open("/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgcc_s.so.1", O_RDONLY) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\27\0\0004\0\0\0"..., 512) = 512 mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0xad279000 munmap(0xad279000, 552960) = 0 munmap(0xad400000, 495616) = 0 mprotect(0xad300000, 135168, PROT_READ|PROT_WRITE) = 0 fstat64(5, {st_mode=S_IFREG|0644, st_size=39432, ...}) = 0 mmap2(NULL, 42628, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xad91c000 mmap2(0xad926000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x9) = 0xad926000 close(5) = 0 munmap(0xad479000, 141941) = 0 write(4, "======= Backtrace: =========\n", 29======= Backtrace: ========= ) = 29 writev(4, [{"/lib/libc.so.6", 14}, {"[0x", 3}, {"ad6ee8b2", 8}, {"]\n", 2}], 4/lib/libc.so.6[0xad6ee8b2] ) = 27 writev(4, [{"/lib/libc.so.6", 14}, {"[0x", 3}, {"ad6ee9b0", 8}, {"]\n", 2}], 4/lib/libc.so.6[0xad6ee9b0] ) = 27 writev(4, [{"/lib/libc.so.6", 14}, {"[0x", 3}, {"ad6f0710", 8}, {"]\n", 2}], 4/lib/libc.so.6[0xad6f0710] ) = 27 writev(4, [{"/lib/libc.so.6", 14}, {"(", 1}, {"calloc", 6}, {"+0x", 3}, {"d2", 2}, {")", 1}, {"[0x", 3}, {"ad6f1e32", 8}, {"]\n", 2}], 9/lib/libc.so.6(calloc+0xd2)[0xad6f1e32] ) = 40 writev(4, [{"/lib/libc.so.6", 14}, {"(", 1}, {"open_memstream", 14}, {"+0x", 3}, {"5d", 2}, {")", 1}, {"[0x", 3}, {"ad6e75ed", 8}, {"]\n", 2}], 9/lib/libc.so.6(open_memstream+0x5d)[0xad6e75ed] ) = 48 writev(4, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__vsyslog_chk", 13}, {"+0x", 3}, {"78", 2}, {")", 1}, {"[0x", 3}, {"ad746208", 8}, {"]\n", 2}], 9/lib/libc.so.6(__vsyslog_chk+0x78)[0xad746208] ) = 47 writev(4, [{"/lib/libc.so.6", 14}, {"(", 1}, {"syslog", 6}, {"+0x", 3}, {"2a", 2}, {")", 1}, {"[0x", 3}, {"ad74674a", 8}, {"]\n", 2}], 9/lib/libc.so.6(syslog+0x2a)[0xad74674a] ) = 40 writev(4, [{"lmsd: reload", 12}, {"(", 1}, {"termination_handler", 19}, {"+0x", 3}, {"56", 2}, {")", 1}, {"[0x", 3}, {"804bd86", 7}, {"]\n", 2}], 9lmsd: reload(termination_handler+0x56)[0x804bd86] ) = 50 writev(4, [{"lmsd: reload", 12}, {"[0x", 3}, {"804cd00", 7}, {"]\n", 2}], 4lmsd: reload[0x804cd00] ) = 24 writev(4, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__libc_start_main", 17}, {"+0x", 3}, {"e0", 2}, {")", 1}, {"[0x", 3}, {"ad69f9d0", 8}, {"]\n", 2}], 9/lib/libc.so.6(__libc_start_main+0xe0)[0xad69f9d0] ) = 51 writev(4, [{"lmsd: reload", 12}, {"[0x", 3}, {"8049b41", 7}, {"]\n", 2}], 4lmsd: reload[0x8049b41] ) = 24 write(4, "======= Memory map: ========\n", 29======= Memory map: ======== ) = 29 open("/proc/self/maps", O_RDONLY) = 5 read(5, "08048000-0804e000 r-xp 00000000 "..., 1024) = 1024 write(4, "08048000-0804e000 r-xp 00000000 "..., 102408048000-0804e000 r-xp 00000000 fd:22 527158 /usr/bin/lmsd 0804e000-08050000 rw-p 00006000 fd:22 527158 /usr/bin/lmsd 08050000-08077000 rw-p 08050000 00:00 0 [heap] ad300000-ad321000 rw-p ad300000 00:00 0 ad321000-ad400000 ---p ad321000 00:00 0 ad49c000-ad49d000 rw-p ad49c000 00:00 0 ad49d000-ad4ac000 r-xp 00000000 fd:16 98424 /lib/libz.so.1.2.3 ad4ac000-ad4ad000 rw-p 0000e000 fd:16 98424 /lib/libz.so.1.2.3 ad4ad000-ad5ca000 r-xp 00000000 fd:22 1200361 /usr/lib/libcrypto.so.0.9.8 ad5ca000-ad5df000 rw-p 0011c000 fd:22 1200361 /usr/lib/libcrypto.so.0.9.8 ad5df000-ad5e2000 rw-p ad5df000 00:00 0 ad5e2000-ad61d000 r-xp 00000000 fd:22 1201203 /usr/lib/libssl.so.0.9.8 ad61d000-ad621000 rw-p 0003a000 fd:22 1201203 /usr/lib/libssl.so.0.9.8 ad621000-ad622000 rw-p ad621000 00:00 0 ad622000-ad644000 r-xp 00000000 fd:16 98979 /lib/libm-2.6.1.so ad644000-ad646000 rw-p 00021000 fd:16 98979 /lib/libm-2.6.1.so ad646000-ad658000 r-xp 00000000 fd:16 98993 /lib/libnsl-2.) = 1024 read(5, "6.1.so\nad658000-ad65a000 rw-p 00"..., 1024) = 1024 write(4, "6.1.so\nad658000-ad65a000 rw-p 00"..., 10246.1.so ad658000-ad65a000 rw-p 00011000 fd:16 98993 /lib/libnsl-2.6.1.so ad65a000-ad65c000 rw-p ad65a000 00:00 0 ad65c000-ad661000 r-xp 00000000 fd:16 98492 /lib/libcrypt-2.6.1.so ad661000-ad663000 rw-p 00004000 fd:16 98492 /lib/libcrypt-2.6.1.so ad663000-ad68a000 rw-p ad663000 00:00 0 ad68a000-ad7b1000 r-xp 00000000 fd:16 98977 /lib/libc-2.6.1.so ad7b1000-ad7b2000 r--p 00126000 fd:16 98977 /lib/libc-2.6.1.so ad7b2000-ad7b4000 rw-p 00127000 fd:16 98977 /lib/libc-2.6.1.so ad7b4000-ad7b7000 rw-p ad7b4000 00:00 0 ad7b7000-ad7b9000 r-xp 00000000 fd:16 98980 /lib/libdl-2.6.1.so ad7b9000-ad7bb000 rw-p 00001000 fd:16 98980 /lib/libdl-2.6.1.so ad7bb000-ad8d2000 r-xp 00000000 fd:22 1229949 /usr/lib/mysql/libmysqlclient.so.15.0.0 ad8d2000-ad914000 rw-p 00117000 fd:22 1229949 /usr/lib/mysql/libmysqlclient.so.15.0.0 ad914000-ad916000 rw-p ad914000 00:00 0 ad91c000-ad926000 r-xp 00000000 fd:22 1247780 /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgcc_s.so.1 ad926000-ad927000 r) = 1024 read(5, "w-p 00009000 fd:22 1247780 /u"..., 1024) = 646 write(4, "w-p 00009000 fd:22 1247780 /u"..., 646w-p 00009000 fd:22 1247780 /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgcc_s.so.1 ad927000-ad92f000 r-xp 00000000 fd:16 98986 /lib/libnss_files-2.6.1.so ad92f000-ad931000 rw-p 00007000 fd:16 98986 /lib/libnss_files-2.6.1.so ad931000-ad938000 r--s 00000000 fd:22 1448085 /usr/lib/gconv/gconv-modules.cache ad938000-ad939000 r--p 00000000 fd:22 1310836 /usr/lib/locale/pl_PL.utf8/LC_TIME ad939000-ad93a000 r-xp ad939000 00:00 0 [vdso] ad93a000-ad954000 r-xp 00000000 fd:16 98557 /lib/ld-2.6.1.so ad954000-ad956000 rw-p 00019000 fd:16 98557 /lib/ld-2.6.1.so b9688000-b969e000 rw-p b9688000 00:00 0 [stack] ) = 646 read(5, "", 1024) = 0 close(5) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 gettid() = 17975 tgkill(17975, 17975, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++
Może jest ktoś w stanie pomóc?
Pozdrawiam
Jerzy Kołosowski
lms mailing list lms@lists.lms.org.pl http://lists.lms.org.pl/mailman/listinfo/lms
uczestnicy (1)
-
Wojciech Ziniewicz