kdevops.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Luis Chamberlain <mcgrof@kernel.org>
To: Frederick Lawler <fred@cloudflare.com>
Cc: kdevops@lists.linux.dev, kernel-team@cloudflare.com
Subject: Re: [RFC PATCH] fstests: Request inferred user
Date: Thu, 31 Aug 2023 12:35:07 -0700	[thread overview]
Message-ID: <ZPDra3whMPrzgZly@bombadil.infradead.org> (raw)
In-Reply-To: <20230830235333.1658555-1-fred@cloudflare.com>

On Wed, Aug 30, 2023 at 06:53:33PM -0500, Frederick Lawler wrote:
> Currently when running make fstests for bare-metal setups, the data_user
> 'vagrant' is set for the /data partition. This is currently set as the default
> data_user. We have the option to edit this in extra_vars.yml.
> make linux checks for an inferred user prior to setting the uid/gid for
> the /data partition.
> In the situation where we don't add the 'vagrant' user to the
> bare-metal, we get a "user does not exist" on make fstests.
> In both cases we do not want to switch users between the two targets,
> nor do we want to necessarily ensure that the 'vagrant' user exists on
> the metal. Therefore, request the inferred user on make fstests.
> Signed-off-by: Frederick Lawler <fred@cloudflare.com>
> ---
> Since this is essentially in two places, I figure this should be more
> generic and then included in other make targets like cxl. But this is to
> get the discussion going if this or some other generic approach is
> preferred.

Looks good to me, sharing is certainly desriable so we have a bug in
just one place. You can do that later.

I've applied this patch and then also removed hlip user from both
places. We'll see what breaks, I can't think of anything that should
depend on it.

What's your github username or gitlab? You should just get access to


      parent reply	other threads:[~2023-08-31 19:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-30 23:53 [RFC PATCH] fstests: Request inferred user Frederick Lawler
2023-08-31 10:13 ` Jeff Layton
2023-08-31 13:51   ` Frederick Lawler
2023-08-31 19:30     ` Luis Chamberlain
2023-08-31 19:35       ` Jeff Layton
2023-08-31 19:36         ` Luis Chamberlain
2023-08-31 19:35 ` Luis Chamberlain [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZPDra3whMPrzgZly@bombadil.infradead.org \
    --to=mcgrof@kernel.org \
    --cc=fred@cloudflare.com \
    --cc=kdevops@lists.linux.dev \
    --cc=kernel-team@cloudflare.com \


* 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).