Page 1 of 1

compile problems with grsecurity enabled

PostPosted: Sun Dec 04, 2005 9:07 am
by MrTux
Hi,

I've several problems with the current release grsecurity with 2.6.14.2 (PAX is completely disabled, only loggin options enabled). I cannot build glibc-2.3.5 and gcc-4.0.2. If I build other tools, I sometimes get similar logs, too:

Nov 23 18:29:28 Sven kernel: grsec: signal 6 sent to /usr/src/RPM/BUILD/glibc-2.3.5/build-i586-linux/elf/ld.so[ld-linux.so.2:28795] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:31510] uid/euid:0/0 gid/egid:0/0
Nov 23 18:29:28 Sven kernel: grsec: signal 6 sent to /usr/src/RPM/BUILD/glibc-2.3.5/build-i586-linux/elf/ld.so[ld-linux.so.2:3616] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:5173] uid/euid:0/0 gid/egid:0/0

Nov 29 12:48:02 Sven kernel: grsec: signal 11 sent to /usr/bin/objdump[objdump:25304] uid/euid:0/0 gid/egid:0/0, parent /usr/lib/rpm/mrtux/find-requires[find-requires:16433] uid/euid:0/0 gid/egid:0/0
Nov 29 12:48:02 Sven kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/objdump[objdump:25304] uid/euid:0/0 gid/egid:0/0, parent /usr/lib/rpm/mrtux/find-requires[find-requires:16433] uid/euid:0/0 gid/egid:0/0

Dec 3 15:44:03 Sven kernel: grsec: signal 6 sent to /usr/src/RPM/BUILD/binutils-2.16.91.0.2/libiberty/testsuite/test-pexecute[test-pexecute:9365] uid/euid:0/0 gid/egid:0/0, parent /usr/src/RPM/BUILD/binutils-2.16.91.0.2/libiberty/testsuite/test-pexecute[test-pexecute:29147] uid/euid:0/0 gid/egid:0/0
Dec 3 15:44:03 Sven kernel: grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/src/RPM/BUILD/binutils-2.16.91.0.2/libiberty/testsuite/test-pexecute[test-pexecute:9365] uid/euid:0/0 gid/egid:0/0, parent /usr/src/RPM/BUILD/binutils-2.16.91.0.2/libiberty/testsuite/test-pexecute[test-pexecute:29147] uid/euid:0/0 gid/egid:0/0

If I disable grsecurity completely, I've no problems.

Can anyone help me?

Best regards, Sven

Re: compile problems with grsecurity enabled

PostPosted: Wed Dec 07, 2005 4:52 pm
by PaX Team
MrTux wrote:Nov 23 18:29:28 Sven kernel: grsec: signal 6 sent to /usr/src/RPM/BUILD/glibc-2.3.5/build-i586-linux/elf/ld.so[ld-linux.so.2:28795] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:31510] uid/euid:0/0 gid/egid:0/0

If I disable grsecurity completely, I've no problems.

Can anyone help me?
what may help is if you enabled coredumping and gathered some info from the coredumps (details on this were posted here and/or the mailing list in the past).