Re: [PATCH] init/main.c: prevent warning on lack of default implicit rdinit
From: Harry Austen
Date: Thu Jan 15 2026 - 18:09:14 EST
On Thursday, 15 January 2026 at 20:02, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> On Wed, 14 Jan 2026 22:02:27 +0000 Harry Austen hpausten@xxxxxxxxxxxxxx wrote:
>
> > If rdinit was not explicitly provided on cmdline, and default /init does
> > not exist, no warning should be printed.
>
>
> Seems that we already have a very similar patch from Lillian:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/init-mainc-check-if-rdinit-was-explicitly-set-before-printing-warning.patch
> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/init-mainc-check-if-rdinit-was-explicitly-set-before-printing-warning-fix.patch
>
> What's happening here?
Oh, interesting. Have those already been accepted? Looks like there's no
additional ENOENT check, so the warning gets printed even less often, which is fine by me.
Apologies for missing that this appears to have already been fixed and feel free
to ignore my patch.
Thanks,
Harry