unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "Vinícius dos Santos Oliveira" <vini.ipsmaker@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Feature request: hostname namespaces in guix environment
Date: Sat, 17 Apr 2021 18:10:34 +0200	[thread overview]
Message-ID: <87r1j8sxhh.fsf@gnu.org> (raw)
In-Reply-To: <CAK9RveJswyRxfmC=pY3k2esdeNBfx_LtTU5UxQ6=8MvqFHdzJQ@mail.gmail.com> ("Vinícius dos Santos Oliveira"'s message of "Wed, 7 Apr 2021 10:26:31 -0300")

Hi Vinícius,

Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com> skribis:

> Right now my hostname is leaking to the container and that is certainly a
> hint to my main persona.

AFAICS, ‘guix environment -C’ already starts contains in a separate UTS
namespace (see ‘%namespaces’ in (gnu build linux-containers)).

However, it does not attempt to change the host name, since you get a
non-zero UID inside that environment, you cannot change it.

What we could do is add a ‘--uid’ option to ‘guix environment’ and/or a
‘--host-name’ option.

WDYT?

Thanks,
Ludo’.


  reply	other threads:[~2021-04-17 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 13:26 Feature request: hostname namespaces in guix environment Vinícius dos Santos Oliveira
2021-04-17 16:10 ` Ludovic Courtès [this message]
2021-04-17 18:29   ` Vinícius dos Santos Oliveira

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87r1j8sxhh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=vini.ipsmaker@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).