/etc/profile gives an error when loaded by a bourne shell compatible shell such as ash. This can easily be fixed by exchanging the 'source' in line 6 with a '.' .
Fixed in baselayout-1.8.6.3+.