[systemd-devel] Second (erroneous) check of rootfs?
n-a-zhubr at yandex.ru
Sun Jan 11 04:22:54 PST 2015
11.01.2015 14:11, Andrei Borzenkov:
> By adding all needed options to rootflags="..." (modify
> GRUB_CMDLINE_LINUX_DEFAULT and possibly GRUB_CMDLINE_LINUX_RECOVERY
> in /etc/default/grub; you can use yast for it).
Although it feels a bit ugly because the consistency between fstab and
GRUB_CMDLINE_* will have to be verified manually forever then.
> Otherwise it is functional gap between non-systemd and systemd
> enabled dracut. Without systemd dracut will actually mount root
> read-only, then fetch mount options from real root /etc/fstab and then
> remount real root read-write using correct options. This all got lost
> when converting to systemd.
Hmm, can not find any dracut-specific mailing list to ask. Apparently
there is none :(
Anyway, generally, why not pack a real fstab from the host into initrd
then? Or at least one line ("/") from it? Something prohibits this?
More information about the systemd-devel