public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 0/2] pasta: Do not configure ID mappings when invoked with --netns-only
@ 2026-07-21 15:37 Dwayne B. Bent
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Dwayne B. Bent @ 2026-07-21 15:37 UTC (permalink / raw)
  To: passt-dev; +Cc: Dwayne B. Bent

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-21 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 15:37 [PATCH 0/2] pasta: Do not configure ID mappings when invoked with --netns-only Dwayne B. Bent
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

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