When setting RC_PARALLEL="yes", /sbin/runscript encounters a point exception that prevents execution of any of the /etc/init.d/* scripts. /var/log/rc.log shows pointer messages similar to the following: *** glibc detected *** /sbin/runscript: free(): invalid pointer: 0x08060b10 *** *** glibc detected *** /sbin/runscript: free(): invalid pointer: 0x08060b20 *** *** glibc detected *** /sbin/runscript: free(): invalid pointer: 0x08060b10 *** Reproducible: Always Steps to Reproduce: 1. Edit /etc/conf.d/rc 2. Change RC_PARALLEL="no" to RC_PARALLEL="yes" 3. Reboot Actual Results: /sbin/runscript fails to run any init.d scripts properly, and thus the system boots only with / mounted read-only Expected Results: Proper bootup with some parallelization of init.d script execution. /etc/conf.d/rc settings: RC_PARALLEL="no" RC_INTERACTIVE="yes" RC_VERBOSE="no" RC_QUIET="no" RC_DEPEND_STRICT="yes" RC_HOTPLUG="yes" RC_COLDPLUG="yes" RC_PLUG_SERVICES="!*" RC_FORCE_AUTO="no" RC_LOGGER="yes" RC_TTY_NUMBER=12 RC_DOWN_INTERFACE="yes" RC_DOWN_HARDDISK="yes" RC_DEVICES="udev" RC_DEVICE_TARBALL="no" RC_DMESG_LEVEL="1"
Created attachment 144100 [details] emerge --info
This also happens when baselayout is compiled with CFLAGS='-O2 -pipe -march=i686', so it does not appear to be a CFLAGS issue. This machine is SMP. (Technically, it is CMP -- dual core, but baselayout would not know the difference.)
This should aleady be fixed in OpenRC
(In reply to comment #3) > This should aleady be fixed in OpenRC > Care to elaborate? I am new to using baselayout-2 and found very little documentation on-line. OpenRC (to be renamed?) is like a cross between init-ng and baselayout-1, and will replace baselayout-2 as official gentoo rc eventually?
I have switched to baselayout-2 with openrc-9999 from the uberlord dev. overlay. Thanks.