/etc/init.d/localmount from sys-apps/baselayout-1.8.6.10-r1 up to 1.8.5.12-r5 dows not evaluated the return code from the swapon call at the end of the script. At the end is a simple 'eend 0' which leads to a beautifull [ok] even if swapon failed for some reason (the swapon output is surpressed to /dev/null). Reproducible: Always Steps to Reproduce: 1. make your swap partition non mountable 2. call /et/init.d/localmount 3. Actual Results: It prints in every case [ok]. (And thus i missed that my box was running without swap.) Expected Results: It should print [failed] in case an error occured during swapon. I suggest to replace the 'eend 0' in line 55 of localmount with 'eend $?'.
fixed in cvs ... looks like it's just code that's existed ever since the first baselayout ...