I was trying to track which scripts were getting run to track a problem. I inserted an echo into rc.sysinit so I could see on the terminal when and if a script was run. I put in something like echo "in_2_sysinit". A few boots later I set smbd to run with the level editor in the control panel. Smbd did not run so I checked rc.d to see what was setup. A link should have been made named K35smb in rc3.d. The file that was there was Kin_2_sysinit35smb. The echo got inserted into the filename created for the link. The same thing happened for the file 91 something and also in K35smb in rc5.d.
Debug should always be echoed to stderr, IMHO. (echo "in_2_sysinit" 1>&2) Still, it must be a bug.
I could never reproduce this here.