Gentoo Archives: gentoo-hardened

From: Alex Efros <powerman@××××××××.name>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Security Level: high/server/workstation/virtualization
Date: Sat, 28 Jan 2012 02:36:39
Message-Id: 20120128023548.GK5600@home.power
In Reply to: Re: [gentoo-hardened] Security Level: high/server/workstation/virtualization by Alex Efros
1 Hi!
2
3 On Sat, Jan 28, 2012 at 01:02:40AM +0200, Alex Efros wrote:
4 > > can you generate a coredump and see what the backtrace shows?
5 >
6 > Actually I can't get core. :-/ Look:
7 >
8 > I've re-emerged wireshark using this:
9 >
10 > # CFLAGS="-march=prescott -O1 -pipe -ggdb" \
11 > FEATURES="userpriv usersandbox userfetch parallel-fetch nostrip" \
12 > emerge wireshark
13 >
14 > Now:
15 >
16 > $ sudo zgrep ELF_CORE /proc/config.gz
17 > CONFIG_ELF_CORE=y
18 > $ cat /proc/sys/kernel/core_pattern
19 > core
20 > $ grep core /etc/security/limits.conf | grep -v '^#'
21 > * soft core unlimited
22 > $ cat /etc/limits.conf
23 > * C20480
24 > $ ulimit -c unlimited
25 > $ ulimit -c
26 > unlimited
27 > $ dumpcap
28 > Segmentation fault
29 > $ ls -l core
30 > ls: cannot access core: No such file or directory
31
32 And one more questions - why core wasn't dumped here?
33
34 I've even tried to log in in text mode console after editing both
35 limits.conf files and run dumpcap there - in case these limits apply on
36 user's login, and can't affect anything in the middle of X session - but
37 that doesn't helps too.
38
39 --
40 WBR, Alex.

Replies