Wind River Support Network

HomeDefectsLIN5-17839
Fixed

LIN5-17839 : wrlinux 5.0.1 - cgl apache server crash

Created: Jan 16, 2014    Updated: Dec 19, 2017
Resolved Date: Jul 24, 2014
Found In Version: 5.0.1.10
Fix Version: 5.0.1.17
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Toolchain

Description

In wrlinux 5.0.1, RCPL 10, when one tries to start the apache2 webserver, the following errors are encountered:

service apache2 start 
Starting web server: apache2[Thu Jan 16 13:55:57.349397 2014] [so:warn] [pid 942] AH01574: module reqtimeout_module is already loaded, skipping
[Thu Jan 16 13:55:57.358222 2014] [so:warn] [pid 942] AH01574: module filter_module is already loaded, skipping
PAX: execution attempt in: (null), 00000000-00000000 00000000
PAX: terminating task: /usr/sbin/httpd(httpd):942, uid/euid: 0/0, PC: 0000003cff021970, SP: 000003a9d14c2a90
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
PAX: bytes at SP-8: 000002babba77130 000002babbabe025 000002bac1070e4c 000003a900000001 0000000000000000 000003a9d14c2ba0 0000000001ea6850 0000000000000000 0000000000000000 0000000000000000 000002babb82e7a0 
grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/httpd[httpd:942] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/apachectl[apachectl:940] uid/euid:0/0 gid/egid:0/0
/usr/sbin/apachectl: line 79:   942 Killed                  $HTTPD "$@"
2014 Jan 16 13:55:57 qemu0 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/httpd[httpd:942] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/apachectl[apachectl:940] uid/euid:0/0 gid/egid:0/0
failed

Steps to Reproduce

1. configure project with:
--enable-board=intel-xeon-core --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-reconfig --enable-ccache=yes --with-ccache-dir= --with-ccache-size=5G --enable-ldconfig --with-rcpl-version=0010
2. add the following packages and build:

make -C build grub.addpkg && make -C build ifenslave.addpkg && make -C build mc.addpkg && make -C build libxml2.addpkg && make -C build smartmontools.addpkg && make -C build syslog-ng.addpkg && make -C build xinetd.addpkg && make -C build ntp.addpkg && make -C build make.addpkg && make -C build automake.addpkg && make -C build autoconf.addpkg && make -C build x11-common.addpkg && make -C build xorg-cf-files.addpkg && make -C build gdb.addpkg && make -C build bridge-utils.addpkg && make -C build expect.addpkg && make -C build pciutils.addpkg && make -C build tunctl.addpkg && make -C build modphp.addpkg && make reconfig && make all

3. 
Wind River Linux 5.0.1.10 qemu0 console

qemu0 login: root
Password: 
root@qemu0:~# uname -a
Linux qemu0 3.4.43-grsec-WR5.0.1.10_cgl #1 SMP PREEMPT Sat Jan 11 10:34:29 EET 2014 x86_64 GNU/Linux
root@qemu0:~# 
root@qemu0:~# 
root@qemu0:~# service apache2 status
/usr/sbin/httpd is stopped
root@qemu0:~# service apache2 start 
Starting web server: apache2[Thu Jan 16 13:55:57.349397 2014] [so:warn] [pid 942] AH01574: module reqtimeout_module is already loaded, skipping
[Thu Jan 16 13:55:57.358222 2014] [so:warn] [pid 942] AH01574: module filter_module is already loaded, skipping
PAX: execution attempt in: (null), 00000000-00000000 00000000
PAX: terminating task: /usr/sbin/httpd(httpd):942, uid/euid: 0/0, PC: 0000003cff021970, SP: 000003a9d14c2a90
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
PAX: bytes at SP-8: 000002babba77130 000002babbabe025 000002bac1070e4c 000003a900000001 0000000000000000 000003a9d14c2ba0 0000000001ea6850 0000000000000000 0000000000000000 0000000000000000 000002babb82e7a0 
grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/httpd[httpd:942] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/apachectl[apachectl:940] uid/euid:0/0 gid/egid:0/0
/usr/sbin/apachectl: line 79:   942 Killed                  $HTTPD "$@"
2014 Jan 16 13:55:57 qemu0 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/sbin/httpd[httpd:942] uid/euid:0/0 gid/egid:0/0, parent /usr/sbin/apachectl[apachectl:940] uid/euid:0/0 gid/egid:0/0
failed
root@qemu0:~# service apache2 status
/usr/sbin/httpd is stopped

Other Downloads


Live chat
Online