Page 1 of 1

net-snmp crash...

PostPosted: Fri Oct 15, 2004 5:29 am
by wwwingman
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.

Re: net-snmp crash...

PostPosted: Fri Oct 15, 2004 6:42 am
by PaX Team
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)?

error !

PostPosted: Thu Oct 28, 2004 11:23 am
by wwwingman
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: