Can't assemble /dev/md0 after update to Turris 4 on Omnia

Force-assembling as described at Restore RAID after migrating to TOS 4 seems to help, but the configuration won’t survive reboot even with kernel.randomize_va_space=0 in /etc/sysctl.conf as suggested in that thread.