From: "Dwayne B. Bent" <dbb@dbb.dev>
To: passt-dev@passt.top
Cc: "Dwayne B. Bent" <dbb@dbb.dev>
Subject: [PATCH 0/2] pasta: Do not configure ID mappings when invoked with --netns-only
Date: Tue, 21 Jul 2026 11:37:25 -0400 [thread overview]
Message-ID: <20260721153727.2173831-1-dbb@dbb.dev> (raw)
This is a narrow fix for bug 216 where `pasta` attempts to configure
user and group ID mappings when invoked with `--netns-only`. A new
`bool` argument `config_idmaps` was added to `pasta_start_ns()` that
guards the logic to configure user and group ID mappings. It is set to
`false` when `netns_only` is `true`.
OpenAI Codex was used to explore and understand the codebase. Code
written myself. Test written by Codex guided and reviewed by me.
Dwayne B. Bent (2):
pasta: Regression test for bug 216
pasta: Do not configure ID mappings when invoked with --netns-only
conf.c | 2 +-
pasta.c | 24 ++++++++++++++----------
pasta.h | 3 ++-
test/pasta_options/netns_only | 19 +++++++++++++++++++
test/run | 1 +
5 files changed, 37 insertions(+), 12 deletions(-)
create mode 100644 test/pasta_options/netns_only
--
2.55.0
next reply other threads:[~2026-07-21 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 15:37 Dwayne B. Bent [this message]
2026-07-21 15:37 ` [PATCH 1/2] pasta: Regression test for bug 216 Dwayne B. Bent
2026-07-21 15:37 ` [PATCH 2/2] pasta: Do not configure ID mappings when invoked with --netns-only Dwayne B. Bent
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=20260721153727.2173831-1-dbb@dbb.dev \
--to=dbb@dbb.dev \
--cc=passt-dev@passt.top \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
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 IMAP folder(s).