Re: [systemd-devel] systemd kills mdmon if it was started manually by user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11-11-08 17:46, Michal Soltys wrote:
Then even existing intiramfs image could (probably) be mdmon-agnostic.

Actually:

chroot /run/initramfs mdmon --takeover --all

worked just fine (after preparing new root - so after all mount --binds, and before pivot_root(8)).

So in context of systemd instead of sysv scripts - a fork / chroot / exec mdmon / wait - instead of killing it would do the thing, followed by pivot_to_new_root().

Actually anything that could benefit from "immortality" in one or the other way (perhaps udevd, so e.g. lvm doesn't need --noudevsync ? - when taken over inside dracut's shutdown or anything similar after going back to initramfs) that can be pre-chrooted into /run/initramfs and exec'ed, should work just fine. For the record, udevd worked properly with pivot survival.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux