openrc-0.10.5-r6 and/or busybox-1.20.2-r3 failure
After upgrading to alpine-2.5.1, openrc/busybox failed during the first boot.
The dmesg contains:
[ 16.066159] grsec: denied resource overstep by requesting 8392704 for
RLIMIT_STACK against limit 8388608 for /lib/rc/sh/
gendepends.sh[gendepends.sh:627] uid/euid:0/0 gid/egid:0/0, parent
/lib/rc/sh/gendepends.sh[gendepends.sh:554] uid/euid:0/0
gid/egid:0/0
[ 16.066192] gendepends.sh[627]: segfault at 5c4f7f20 ip 13b36ba8 sp
5c4f7f24 error 6 in busybox[13ae9000+e8000]
[ 16.066275] grsec: Segmentation fault occurred at 5c4f7f20 in
/lib/rc/sh/gendepends.sh[gendepends.sh:627] uid/euid:0/0 g
id/egid:0/0, parent /lib/rc/sh/gendepends.sh[gendepends.sh:554]
uid/euid:0/0 gid/egid:0/0
[ 16.066359] grsec: denied resource overstep by requesting 4096 for
RLIMIT_CORE against limit 0 for /lib/rc/sh/gendepends
.sh[gendepends.sh:627] uid/euid:0/0 gid/egid:0/0, parent
/lib/rc/sh/gendepends.sh[gendepends.sh:554] uid/euid:0/0 gid/egid:
0/0
[ 17.299774] grsec: denied resource overstep by requesting 8392704 for
RLIMIT_STACK against limit 8388608 for /lib/rc/sh/
gendepends.sh[gendepends.sh:739] uid/euid:0/0 gid/egid:0/0, parent
/lib/rc/sh/gendepends.sh[gendepends.sh:666] uid/euid:0/0
gid/egid:0/0
[ 17.299806] gendepends.sh[739]: segfault at 59b4dffc ip 146074be sp
59b4e000 error 6 in busybox[145be000+e8000]
[ 17.299891] grsec: Segmentation fault occurred at 59b4dffc in
/lib/rc/sh/gendepends.sh[gendepends.sh:739] uid/euid:0/0 g
id/egid:0/0, parent /lib/rc/sh/gendepends.sh[gendepends.sh:666]
uid/euid:0/0 gid/egid:0/0
The system does not have BIOS battery, so clock skew during bootup is guaranteed. However, this should not result in gendepends.sh crashing busybox.
As result not all system services were started.
(from redmine: issue id 1539, created on 2013-01-16, closed on 2013-01-18)
- Relations:
- duplicates #1530 (closed)