From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJCwJDuzbWDh8wAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 15:27:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id R6eWHjuzbWDXPAAAB5/wlQ (envelope-from ) for ; Wed, 07 Apr 2021 13:27:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2EFB14AB1 for ; Wed, 7 Apr 2021 15:27:22 +0200 (CEST) Received: from localhost ([::1]:56824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU8DJ-0008VC-Qk for larch@yhetil.org; Wed, 07 Apr 2021 09:27:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU8Cq-0008UB-GU for guix-devel@gnu.org; Wed, 07 Apr 2021 09:26:52 -0400 Received: from mail-io1-xd35.google.com ([2607:f8b0:4864:20::d35]:35772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lU8Co-0000Jx-Cv for guix-devel@gnu.org; Wed, 07 Apr 2021 09:26:52 -0400 Received: by mail-io1-xd35.google.com with SMTP id x17so19357838iog.2 for ; Wed, 07 Apr 2021 06:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZH5ThWI9aYrSJbuOnAymHiK1oTXuGEAUUfa7ywaiIUw=; b=Ko3DaB7T8a3gQXIfj1ObSMrxp5ltnO1WfghYIwEsHZevmxnBEPvd5p0D5ZFXn6P1SN aCua89+YXZ/qAxq37bbtF51Vk2XkO1QI/xnjtT4dVZo8LgZapst2AioMW7EMyx8qfo0t dZwqih35WXKB5oxGrvPXCR24OItc3QNzqTriY70Vw8ThMcyAW6zOUdTtdoweKj//pQs/ JTE4n6Xdz2GWds6fkFOdL+9AMONOEHDMB3Z35NIjF1AkaInEp9vWPbobTagX2ezB+Xuv iWZXfVpIybD2cqmK5uHEbNp5j26Cv7u13sby+QqpUoAE0/ezwusYSuBgJ7qev4FVu6Ai g17Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZH5ThWI9aYrSJbuOnAymHiK1oTXuGEAUUfa7ywaiIUw=; b=iK+fca4u7CxgWHe2U8o9jjsZ+HcnapsPIFSxkZz6ojXzBO3viNb/ZOakP2V41lZ6ep OaXyvhDAZSHrpeVILH+gLQ2JdVL6pLQgFyzi3HmQsld0dOsYJoVOBPmAMmDxrVHMZCTt X3hV09k5VnxDgdn0EVCY2rZWPdxxrEh497YRrH3pDFd8Ns6SGNTM5dKT+Q8ZNBTWy2lC PsngS4/fSrX0YxTLry3Kwj4w1ZrHwThusz0M1ZMmRYM/DNgIvQ4sGePmxXMC/HkpzerG PnIYQ70xTisi+LYv3obSUatzw2fRqGPH6S+wVItHcPhiX8iYNWtNRvQJIqUrKY8lnA9Q RG3w== X-Gm-Message-State: AOAM530KfioVgyNeQVmwLsWBgR67XPoy8uZ8/RQNVFN4nN5QRUwOoA6W h+kvNbE8+aAw8c4//m5omOUYWUpsJVl5ogaI2jaddk+3+4I= X-Google-Smtp-Source: ABdhPJyzKge0w0KGw68W4GnLhtXmKdT8Zb1UwxHifhAM9FAcC9sAHQvKLcCK+7s5drNV3BP8B4Gwx8RO+6u0OPNHpY0= X-Received: by 2002:a02:c6ae:: with SMTP id o14mr3630969jan.33.1617802008120; Wed, 07 Apr 2021 06:26:48 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Vin=C3=ADcius_dos_Santos_Oliveira?= Date: Wed, 7 Apr 2021 10:26:31 -0300 Message-ID: Subject: Feature request: hostname namespaces in guix environment To: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="00000000000002ceec05bf61e2ef" Received-SPF: pass client-ip=2607:f8b0:4864:20::d35; envelope-from=vini.ipsmaker@gmail.com; helo=mail-io1-xd35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617802043; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZH5ThWI9aYrSJbuOnAymHiK1oTXuGEAUUfa7ywaiIUw=; b=lff6qKwgLS3aqXl4Ag1TaVu2tXpYvg2sveLtUkGdVhUJAvOI/0F6tiTWuOLxziUZ+zVJFa wFXp60sLhBKKumRzfcMT22vaucPoMtteaA8KH0rpSvi/LGbObyyfEaM8WxRKCS4+u2MpKj uGMcy6UMojtdS7dDwykU3C1TocuwqxFAMBDtJDj5fXvsPIVUJN2yJnT/GzJjMQqeWpVZbF uEzpHAzsQ3cwPKhsBfma9HPV2aoZeNUrv1/J7poxXZwOZqBoVYQW+vHVXzc8hIoapZ4FeW ily9ibjKr9seg87sTFn/kE772J9bVzJ6wMymrrQJIHpPlXwzUv34NGdgFVdZNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617802043; a=rsa-sha256; cv=none; b=jajsy4IxVqP7Jwa/bhqUp+d81n/pZiRuJXBFKQN5w0pKSu+FmGsBsilBtYGPNbIkcOsw66 qWzIaKYGBXABMCzmybe15OyylmgTPPhXQ9DFtc4X8QaXa0FQMFtjLTw5kHxXma99CRsehk mSsyoUhPBXlnFyewAcceqvd5X+wfAvv85qcO3yB+ZAk4WWERBYZB+iL0zGhkSfuw3Owv9n buXfsKcc0M90wek/HHZFLGvhJyw/x6FTp5LKXgMHjjOEpjGE4OYi5AI2IHmNsvFXMMwswt FCNqcsZPh9Vv1sSa08mVa4K0XDmbOkOGBPl06RAt8uCz4Z9MiF9wxO16NUsdWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ko3DaB7T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ko3DaB7T; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: E2EFB14AB1 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: TAnE6G2ar6FW --00000000000002ceec05bf61e2ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 > each of the user fields, this is only one useful component of a broader > privacy/anonymity solution=E2=80=94not one in and of itself. > Right now my hostname is leaking to the container and that is certainly a hint to my main persona. [1] https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html [2] https://man.archlinux.org/man/core/man-pages/uts_namespaces.7.en --=20 Vin=C3=ADcius dos Santos Oliveira https://vinipsmaker.github.io/ --00000000000002ceec05bf61e2ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Some programs (e.g. xpra) create files based on the hostna= me and it'd be useful to have control of this parameter.

There&#= 39;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 path= s and each of the user fields, this is only one useful component of a broad= er privacy/anonymity solution=E2=80=94not one in and of itself.

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


[1] https://guix.gnu.org/manual/en/html_node/Invoking= -guix-environment.html

--
Vin=C3=ADcius= dos Santos Oliveira
https://= vinipsmaker.github.io/ --00000000000002ceec05bf61e2ef--