public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* Setting hostname while spawning pasta
@ 2024-05-09  7:00 Danish Prakash
  2024-05-10 17:03 ` Stefano Brivio
  2024-05-13 11:59 ` Paul Holzinger
  0 siblings, 2 replies; 7+ messages in thread
From: Danish Prakash @ 2024-05-09  7:00 UTC (permalink / raw)
  To: passt-dev

Hello

I was having a discussion with a colleague of mine on how `pasta` when invoked
independently drops you in a new user and network namespace and how that causes
some folks to not realize what has happened especially because there's no cue
as to what transpired. This is not uncommon though, because a lot of
times, folks having
issues with pasta while running it with podman, tend to invoke pasta
directly to debug.

I interacted with Stefano regarding this and he told me that pasta
already detaches
the UTS namespace and so in order to address this issue, I propose
that we set the hostname
as part of `pasta_spawn_cmd()`.Doing this would provide users with a
clear visual indication that
they are in a new user namespace (among other ns but that won't be
indicative here) and avoid
issues similar to the aforementioned.

I'm looking to gather more opinions on how this change, if
implemented, would affect the
functionality. Looking forward to the discussion.

Thank you

danishpraka.sh
:wq

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

end of thread, other threads:[~2024-05-13 16:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09  7:00 Setting hostname while spawning pasta Danish Prakash
2024-05-10 17:03 ` Stefano Brivio
     [not found]   ` <CACVuxaZEos=JK3XaFGM7d9z+qk-QLeChh7HuGxcdaEfmM02ywg@mail.gmail.com>
2024-05-13 11:21     ` Stefano Brivio
2024-05-13 11:56       ` Danish Prakash
2024-05-13 11:59 ` Paul Holzinger
2024-05-13 14:28   ` Danish Prakash
2024-05-13 16:02   ` Stefano Brivio

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