From: "Ortwin Glück" <odi@odi.ch>
To: Drew DeVault <sir@cmpwn.com>, Richard Weinberger <richard@nod.at>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Failover root devices
Date: Fri, 18 Sep 2015 16:59:01 +0200 [thread overview]
Message-ID: <55FC26B5.7080308@odi.ch> (raw)
In-Reply-To: <55FB0646.1020704@cmpwn.com>
On 17.09.2015 20:28, Drew DeVault wrote:
> I don't think this is a strong argument against this feature. The implementation of this feature
> will be pretty straightfoward - only a small part of the code has to actually change its behavior
> and it can do without changing the interfaces it already relies on. On top of that, I don't think it
> can be done "nicely" in userspace anyway.
I personally think this is opening a can of worms. Now it's just a list of alternative root devices.
But the kernel knows absolutely nothing about these. When is it fine to try an alternative? Why did
the first one not work? Did we just not wait long enough? Or is it a failed RAID device? Or is it an
encrypted disk that needs setup? Or is it on NFS and the network is not available (or we are lacking
driver firmware)?
It could actually introduce security problems: if I know that a device will fallback to an
alternative root (under my control), I can try and DOS the primary root.
In short: if a simple root device doesn't work for you, you should *really* use an initramfs.
One could even argue to remove the boot= parameter altogether and always use initramfs :-)
Ortwin
next prev parent reply other threads:[~2015-09-18 14:59 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-17 11:40 Failover root devices Ortwin Glück
2015-09-17 11:49 ` Drew DeVault
2015-09-17 17:47 ` Richard Weinberger
2015-09-17 17:49 ` Drew DeVault
2015-09-17 17:52 ` Richard Weinberger
2015-09-17 18:05 ` Drew DeVault
2015-09-17 18:17 ` Richard Weinberger
2015-09-17 18:18 ` Drew DeVault
2015-09-17 18:19 ` Richard Weinberger
2015-09-17 18:21 ` Drew DeVault
2015-09-17 18:23 ` Richard Weinberger
2015-09-17 18:28 ` Drew DeVault
2015-09-18 14:59 ` Ortwin Glück [this message]
2015-09-18 15:00 ` Drew DeVault
2015-09-18 15:04 ` Ortwin Glück
2015-09-18 15:36 ` Austin S Hemmelgarn
2015-09-17 18:27 ` Harald Hoyer
2015-09-17 18:29 ` Drew DeVault
2015-09-17 18:33 ` Richard Weinberger
2015-09-17 18:35 ` Drew DeVault
2015-09-17 18:42 ` Richard Weinberger
2015-09-17 18:29 ` Richard Weinberger
2015-09-17 18:37 ` Austin S Hemmelgarn
2015-09-17 18:40 ` Richard Weinberger
2015-09-18 14:40 ` Austin S Hemmelgarn
-- strict thread matches above, loose matches on Subject: below --
2015-09-17 0:16 Drew DeVault
2015-09-17 16:02 ` Austin S Hemmelgarn
2015-09-17 17:30 ` Drew DeVault
2015-09-18 14:34 ` Austin S Hemmelgarn
2015-09-18 14:43 ` Drew DeVault
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=55FC26B5.7080308@odi.ch \
--to=odi@odi.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=richard@nod.at \
--cc=sir@cmpwn.com \
/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