DrMcKay wrote:Hi,
I'm a newbie with grsec. At boot time i get this error:
grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /sbin/klogd......
:~# uname -a
Linux ubuntu 2.6.24.5-grsec #2 SMP Mon May 19 18:45:18 CEST 2008 i686 GNU/Linux
I installed gradm. What i need to do to solve this?
Thanks!
Peter
Using a non-ubuntu patched kernel source would be best. It's really suggested to use a vanilla kernel.org kernel. I forgot where the grsecurity team tells of this, but I remember seeing it somewhere.
Why: The patches Ubuntu makes may or may not have problems with the patch, etc..
http://kernel.org/pub/linux/kernel/v2.6/ - choose ur kernel ver. 2.6.24.7 is the last of the 2.6.24 series as of this post. Alas As of this post 2.6.25.9 is the latest of the 2.6.25 series.
For comparison here is my ulimit -a on kubuntu Gutsy Gibbon 7.10 with kernel 2.6.24.7 - vanilla -
- Code: Select all
Linux botnetgodalphamale 2.6.24.7-botnetgodalphamale-grsec #1 Mon Jun 23 14:13:25 PDT 2008 i686 GNU/Linux
- Code: Select all
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 30
file size (blocks, -f) unlimited
pending signals (-i) 4091
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4091
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited