net-snmp crash...

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

net-snmp crash...

Postby wwwingman » Fri Oct 15, 2004 5:29 am

Hello,
I use LFS 5.1.1 with a 2.4.27 kernel, grsecurity-2.0.1-2.4.27.patch and high level security for GRSecurity.

Net-snmpd crashes on start.
.... kernel: grsec: attempted resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 by /usr/sbin/snmpd[snmpd:16586] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0

The same kernel configuration, without applying grsecurity patch SNMP works 'fine' (request over disks, memory etc... every 5 mn for days...).

I use net-snmp 5.1.2, but had the same problems with 5.1.1.
wwwingman
 
Posts: 3
Joined: Fri Oct 15, 2004 5:19 am

Re: net-snmp crash...

Postby PaX Team » Fri Oct 15, 2004 6:42 am

wwwingman wrote:Net-snmpd crashes on start.
.... kernel: grsec: attempted resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 by /usr/sbin/snmpd[snmpd:16586] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
how about posting a bit more info like an strace (of both the working and failing cases), getting a coredump and analysing it in gdb (bt, x/8i $eip, x/16x $esp, info reg, etc)?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

error !

Postby wwwingman » Thu Oct 28, 2004 11:23 am

After some investigation this does not seem to be related to GrSecurity. I have found a way (a configuration) where under both kernels (with or without grsecurity) net-snmp crashes at the same place.
:oops:
wwwingman
 
Posts: 3
Joined: Fri Oct 15, 2004 5:19 am


Return to grsecurity support