Re: Feature request: hostname namespaces in guix environment

2021-04-17 Thread Vinícius dos Santos Oliveira
Em sáb., 17 de abr. de 2021 às 13:10, Ludovic Courtès escreveu: > Hi Vinícius, Hi Ludovic, > What we could do is add a ‘--uid’ option to ‘guix environment’ and/or a > ‘--host-name’ option. > > WDYT? The --host-name option would work for me. That'd be enough to control xpra unix socket names.

Re: Feature request: hostname namespaces in guix environment

2021-04-17 Thread Ludovic Courtès
Hi Vinícius, Vinícius dos Santos Oliveira 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)). Howev

Feature request: hostname namespaces in guix environment

2021-04-07 Thread Vinícius dos Santos Oliveira
Some programs (e.g. xpra) create files based on the hostname and it'd be useful to have control of this parameter. There's another reason to have custom hostnames within the container as well. From the guix manual[1]: While this will limit the leaking of user identity through home paths and > eac