Gentoo Archives: gentoo-hardened

From: Adam Lantos <hege@××××××.org>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] hardened glibc-2.5 issues
Date: Sat, 16 Jun 2007 21:51:17
Message-Id: 603052830706161449l44da1c4bxe7711c2719c276ff@mail.gmail.com
1 hi
2
3 I have recently upgraded one of my gentoo systems to glibc-2.5-r3 (USE
4 = hardened nptl nptlonly), and since then random issues emerged from
5 nowhere...
6
7 Openldap's slapd and mysqld are unable to run stable, after daemon
8 parent process forks the worker processes, they get killed, and master
9 daemon exits.
10
11 I remerged glibc with USE="-hardened -nptlonly", but still no success,
12 my threaded processes die randomly.
13
14 Any ideas? Copied the strace output to the bottom of this mail
15
16
17 yours,
18 adam
19
20
21 strace of slapd:
22
23 child_stack=0x37a7f4c4,
24 flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|
25 CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
26 parent_tidptr=0x37a7fbd8,
27 {entry_number:6, base_addr:0x37a7fb90, limit:1048575, seg_32bit:1, contents:0,
28 read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1},
29 child_tidptr=0x37a7fbd8) = 11694
30 [pid 19145] futex(0x37a7fbd8, FUTEX_WAIT, 11694, NULL <unfinished ...>
31 [pid 11694] sendto(933755872, ptrace: umoven: Input/output error
32 0xc, 1277361828, 0, ptrace: umoven: Input/output error
33 {...}, 933754056) = 0
34 [pid 11694] epoll_ctl(6, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=293003816,
35 u64=293003816}}) = 0
36 [pid 19145] <... futex resumed> ) = -1 EINTR (Interrupted system call)
37 [pid 11694] +++ killed by SIGKILL +++
38 PANIC: handle_group_exit: 11694 leader 19145
39 Process 11694 detached
40 +++ killed by SIGKILL +++
41 Process 19145 detached
42 --
43 gentoo-hardened@g.o mailing list

Replies

Subject Author
[gentoo-hardened] Re: hardened glibc-2.5 issues Adam Lantos <hege@××××××.org>
Re: [gentoo-hardened] hardened glibc-2.5 issues pageexec@××××××××.hu