[OpenBMC] [Linux-5.10] useradd: cannot open /etc/passwd

Joel Stanley joel at jms.id.au
Wed Mar 31 09:35:14 AEDT 2021


On Tue, 30 Mar 2021 at 05:47, CS20 CHLi30 <CHLI30 at nuvoton.com> wrote:
>
> Hi Lei Yu,
>
> Thanks your help to provide this information.
> This issue seems relate to "cannot do write action for /etc/passwd file".
> I'm trying to check whether is relate to jffs2 or overlayfs filesystem driver.

jffs2!

I did a bisection and the offending commit is
https://git.kernel.org/torvalds/c/36e2c7421f02a, from v5.9-rc1. I have
posted a patch that fixes the issue:

https://lore.kernel.org/lkml/20210330134537.423447-1-joel@jms.id.au/

I will merge this patch into dev-5.10 today.

Cheers,

Joel


More information about the openbmc mailing list