/etc/init.d/mdadm starts mdadm without the -f/--daemonise flag. This causes your terminal to hang when you log off because the process is still attached. Not a problem once you've done `rc-update add mdadm default`, but quite annoying during initial setup.
fixed in 2.4.1-r1