Comment 17 for bug 1587142

Revision history for this message
Dr. Thomas Orgis (drthor) wrote :

So I got a simple fix for being able to reboot again:

```
udpate-rc.d mdadm disable
```

With that, the mdmon instance from the initrd persists (with @sbin/mdmon as argv[0]) and is not killed by systemd. So systemd-reboot does not hang. But: Since mdmon is not killed at all now, the array always gets a fresh resync on each boot.

We really, really need to implement the return-to-initrd practice to be able to bring the system down in the proper reverse order of bringing it up.

(So initrd filesystem has to be kept in memory for the whole time … wasting some memory with the huge initrds of today's time. It would also be nice if mdmon was just part of the kernel as it should be.)