openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: CS20 CHLi30 <CHLI30@nuvoton.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>,
	Lei Yu <yulei.sh@bytedance.com>
Subject: Re: [OpenBMC] [Linux-5.10] useradd: cannot open /etc/passwd
Date: Tue, 30 Mar 2021 22:35:14 +0000	[thread overview]
Message-ID: <CACPK8XfyM4R3y7DDfU3Yi13z5QiA-7ciUUdtz+m970tU83-z3g@mail.gmail.com> (raw)
In-Reply-To: <PS1PR03MB51000EC29C060029981CE8B6CF7D9@PS1PR03MB5100.apcprd03.prod.outlook.com>

On Tue, 30 Mar 2021 at 05:47, CS20 CHLi30 <CHLI30@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

  reply	other threads:[~2021-03-30 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  6:17 [OpenBMC] [Linux-5.10] useradd: cannot open /etc/passwd CS20 CHLi30
2021-03-30  2:21 ` Lei Yu
2021-03-30  5:47   ` CS20 CHLi30
2021-03-30 22:35     ` Joel Stanley [this message]
2021-03-31  0:56       ` CS20 CHLi30

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=CACPK8XfyM4R3y7DDfU3Yi13z5QiA-7ciUUdtz+m970tU83-z3g@mail.gmail.com \
    --to=joel@jms.id.au \
    --cc=CHLI30@nuvoton.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=yulei.sh@bytedance.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;
as well as URLs for NNTP newsgroup(s).