From: Michael Ellerman <mpe@ellerman.id.au>
To: Rob Landley <rob@landley.net>,
Christophe LEROY <christophe.leroy@c-s.fr>,
Stephen Rothwell <sfr@canb.auug.org.au>
Cc: sachinp <sachinp@linux.vnet.ibm.com>,
mhocko@suse.com, peterz@infradead.org, viresh.kumar@linaro.org,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
mingo@kernel.org, lokeshvutla@ti.com,
Abdul Haleem <abdhalee@linux.vnet.ibm.com>,
linux-input@vger.kernel.org, thomas.lendacky@amd.com,
lauraa@codeaurora.org, keescook@chromium.org,
Jiri Kosina <jikos@kernel.org>,
rostedt@goodmis.org, linux-fsdevel@vger.kernel.org,
viro@zeniv.linux.org.uk, tglx@linutronix.de,
gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
tj@kernel.org, Andrew Morton <akpm@linux-foundation.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH v3] Make initramfs honor CONFIG_DEVTMPFS_MOUNT
Date: Thu, 21 Sep 2017 20:13:55 +1000 [thread overview]
Message-ID: <878th8cqak.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <d6a5ba05-5de2-24e0-49ae-437058001b37@landley.net>
Rob Landley <rob@landley.net> writes:
> On 09/14/2017 04:17 AM, Christophe LEROY wrote:
>> Le 14/09/2017 à 01:51, Rob Landley a écrit :
>>> From: Rob Landley <rob@landley.net>
>>>
>>> Make initramfs honor CONFIG_DEVTMPFS_MOUNT, and move
>>> /dev/console open after devtmpfs mount.
>>>
>>> Add workaround for Debian bug that was copied by Ubuntu.
>>
>> Is that a bug only for Debian ? Why ?
>
> Look down, specifically this bit:
>
>>> v2 discussion:
>>> http://lkml.iu.edu/hypermail/linux/kernel/1705.2/05611.html
>
> That's some discussion of version 2 of this patch, which was merged for
> a while last dev cycle, then backed out again because it triggered the
> same bug in a number of system init scripts:
>
> http://lkml.iu.edu/hypermail/linux/kernel/1705.2/07072.html
> http://lkml.iu.edu/hypermail/linux/kernel/1705.3/01182.html
> http://lkml.iu.edu/hypermail/linux/kernel/1705.3/01505.html
> http://lkml.iu.edu/hypermail/linux/kernel/1705.3/01320.html
>
> All of whom copied the broken error "recovery" path from debian. If they
> checked whether it was already mounted, or didn't _blank_ the /dev
> directory in response to mounting the exact same filesystem over itself
> giving -EBUSY, the system would work fine. Heck, if you built a kernel
> with a static /dev in initramfs and no devtmpfs configured in, the
> script would break things exactly the same way. The breakage is that
> script takes a hammer to a perfectly functional /dev directory and then
> continues the boot with an empty /dev. That's bonkers.
>
>> Why should a Debian bug be fixed by a workaround in the mainline kernel ?
>
> That was my argument last time, and the answer was "Breaking userspace
> is bad, mmmkay." Even when userspace is doing something REALLY OBVIOUSLY
> STUPID and it is _clearly_ their fault, as long as they got there first
> they've established the status quo and it doesn't matter how silly it is.
>
> This was explicitly stated to me here:
>
> http://lkml.iu.edu/hypermail/linux/kernel/1705.3/03292.html
>
> I.E. don't argue with me, argue with him. :)
I'm still here. And I'm still right :)
No one wants their system to stop booting because of this obscure
functionality.
Just put it behind a new config option which defaults off. No
workarounds required, no broken systems, no long email threads required.
cheers
next prev parent reply other threads:[~2017-09-21 10:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1495700957.9020.43.camel@abdul.in.ibm.com>
2017-05-25 9:08 ` [linux-next] PPC Lpar fail to boot with error hid: module verification failed: signature and/or required key missing - tainting kernel Jiri Kosina
2017-05-25 13:02 ` Michael Ellerman
2017-05-25 21:24 ` Stephen Rothwell
2017-05-26 6:24 ` Rob Landley
2017-05-29 5:06 ` Michael Ellerman
2017-09-13 23:51 ` [PATCH v3] Make initramfs honor CONFIG_DEVTMPFS_MOUNT Rob Landley
2017-09-14 9:17 ` Christophe LEROY
2017-09-17 4:03 ` Rob Landley
2017-09-17 13:51 ` Henrique de Moraes Holschuh
2017-09-20 3:29 ` Rob Landley
2017-09-21 10:13 ` Michael Ellerman [this message]
2017-09-14 17:45 ` Greg KH
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=878th8cqak.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=abdhalee@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=benjamin.tissoires@redhat.com \
--cc=christophe.leroy@c-s.fr \
--cc=gregkh@linuxfoundation.org \
--cc=jikos@kernel.org \
--cc=keescook@chromium.org \
--cc=lauraa@codeaurora.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lokeshvutla@ti.com \
--cc=mhocko@suse.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=rob@landley.net \
--cc=rostedt@goodmis.org \
--cc=sachinp@linux.vnet.ibm.com \
--cc=sfr@canb.auug.org.au \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=tj@kernel.org \
--cc=viresh.kumar@linaro.org \
--cc=viro@zeniv.linux.org.uk \
/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
all inboxes | Powered by JetHome®