From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Nikolai Zhubr <n-a-zhubr@yandex.ru>
Cc: initramfs@vger.kernel.org, systemd-devel@lists.freedesktop.org
Subject: Re: Second (erroneous) check of rootfs?
Date: Sun, 11 Jan 2015 15:54:27 +0300 [thread overview]
Message-ID: <20150111155427.69f1cc3f@opensuse.site> (raw)
In-Reply-To: <54B26B1E.30900@yandex.ru>
В Sun, 11 Jan 2015 15:22:54 +0300
Nikolai Zhubr <n-a-zhubr@yandex.ru> пишет:
> Hi,
> 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).
>
> Ah, indeed.
> Although it feels a bit ugly because the consistency between fstab and
> GRUB_CMDLINE_* will have to be verified manually forever then.
>
It's no more ugly than using privately patched distribution package. I
did not suggest it as long term generic solution.
> > 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 :(
There is; you keep removing it from Cc.
> Anyway, generally, why not pack a real fstab from the host into initrd
> then? Or at least one line ("/") from it? Something prohibits this?
>
Dracut does pack /etc/fstab in initrd if run in host-specific mode,
but right now systemd-fstab-generator will never parse /etc/fstab
for /sysroot mounts. Pre-systemd dracut would actually merge options
from rootfs /etc/fstab and rootflags.
Even if you add additional parsing of in-initrd /etc/fstab, it still
means you need to regenerate initrd every time you change /etc/fstab so
you still have the same problem as when explicitly adding rootflags -
keeping both in sync :)
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
next prev parent reply other threads:[~2015-01-11 12:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <54ADD119.2050906@yandex.ru>
[not found] ` <20150108004352.GA22800@gardel-login>
[not found] ` <54ADD98D.9080608@opensuse.org>
[not found] ` <54ADE3A1.6060107@yandex.ru>
[not found] ` <54ADE3A1.6060107-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
2015-01-08 2:23 ` [systemd-devel] Second (erroneous) check of rootfs? Cristian Rodríguez
2015-01-08 6:18 ` Andrei Borzenkov
[not found] ` <54AEA37D.8040008@gmail.com>
[not found] ` <20150108155548.GA23263@gardel-login>
[not found] ` <54AEAC69.9050801@gmail.com>
[not found] ` <20150108203046.6cb52b01@opensuse.site>
[not found] ` <54AEE948.4060308@gmail.com>
[not found] ` <54AFA59C.2040301@yandex.ru>
[not found] ` <CAPWNY8X2X=V2u46fLgvARDbiFws9VkgJVevpFs54FdnsgGcNVg@mail.gmail.com>
[not found] ` <CAJCQCtTpHAozdGuNXP2bSfB=+ooVLPHa0Bd0BjqU6J7eT2Wn1A@mail.gmail.com>
[not found] ` <54B12E5C.2060408@yandex.ru>
[not found] ` <20150111100908.75945b61@opensuse.site>
[not found] ` <54B253D6.9040306@yandex.ru>
[not found] ` <54B253D6.9040306-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
2015-01-11 11:11 ` [systemd-devel] " Andrei Borzenkov
[not found] ` <20150111141125.2d2c1f38-stAJ6ESoqRzYCGPCin2YbQ@public.gmane.org>
2015-01-11 11:15 ` Chris Murphy
[not found] ` <CAJCQCtS1tGwp4iELnNp8R3gHY=uS+HFnk_J7k_CUxNX3Ga6upQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-11 11:57 ` Andrei Borzenkov
2015-01-11 12:09 ` Chris Murphy
2015-01-21 13:09 ` Harald Hoyer
[not found] ` <54B26B1E.30900@yandex.ru>
2015-01-11 12:54 ` Andrei Borzenkov [this message]
2015-01-11 14:07 ` Nikolai Zhubr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150111155427.69f1cc3f@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=initramfs@vger.kernel.org \
--cc=n-a-zhubr@yandex.ru \
--cc=systemd-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox