I added the AUTO -all to my mdadm.conf and updated the initramfs. The result is that no array is assembled automatically at startup and I enter the recovery shell. Then I perform an mdadm -A -s and all arrays are assembled correctly. This assembly takes about 2-3 seconds and correctly assembles the array depending on another array. I'm not sure what script causes the wrong assembly, but the mdadm tool itselfs seems to do it fine.
I added the AUTO -all to my mdadm.conf and updated the initramfs. The result is that no array is assembled automatically at startup and I enter the recovery shell. Then I perform an mdadm -A -s and all arrays are assembled correctly. This assembly takes about 2-3 seconds and correctly assembles the array depending on another array. I'm not sure what script causes the wrong assembly, but the mdadm tool itselfs seems to do it fine.