From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sDCTO9gBnWOnEgEAbAwnHQ (envelope-from ) for ; Sat, 17 Dec 2022 00:40:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8Im5OtgBnWMvXwAAG6o9tA (envelope-from ) for ; Sat, 17 Dec 2022 00:40:08 +0100 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 5402714952 for ; Sat, 17 Dec 2022 00:40:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6KIe-0007OO-2S; Fri, 16 Dec 2022 18:39:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6KIb-0007O2-Nu; Fri, 16 Dec 2022 18:39:30 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6KIZ-0000Cs-GA; Fri, 16 Dec 2022 18:39:29 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 5B2F532000D7; Fri, 16 Dec 2022 18:39:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 16 Dec 2022 18:39:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sporksmith.net; h=cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; t=1671233962; x=1671320362; bh=RxoerOdtp9 7eCG7OmfpzV1T3lPGCquhxkXy2W/WlKOs=; b=bQ0zCNqJzUxdS+/pvG4fQOZgFc 52sch65h0IGrG0ienznLrqmspdWTO0KnjAh1ogNRLkI4dOsklXYwYPe474sdGtJI debDP4ec0zPzo+/MYD5vN90qvKCxbSqFtc56E4LTGPEsiGsvx19ZjBlp7bUBv3yy GE3y5D6bMVDBT7h0JjiFiNa1jHe77uQmoWmGFh7JhNTFc8DalueKyfLmhOHwQqIb WL984W73rF9ar+ijMTrlrZi/AmcpGJXjySezSUHUxkQsHic3RwVzKZ4OFmkzIX1O JWJgrwC9dllLUFTqqN0cGbPplQlwamt66w/iPbxSEcW59bSBWiw9Np2/s2LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671233962; x=1671320362; bh=RxoerOdtp97eCG7OmfpzV1T3lPGC quhxkXy2W/WlKOs=; b=vc7nLWXr2Q0mWrgbIq548UETVyfSf+Bzl95cFboGag+w 3+lH/MLKSVNHuiWJc7ET9fBUmJfuOf95/1Q47ydsjCqslycfbtoRYKB4d5Bdh4ju vOk64/gjLM4zpqLmR1th6hOMfQ9gUhCF6jC+PN0gpDR2K3WhTcGKP856ouT3MbPE 1BvAUFCtTOJK1IqbYb/ixz4OgJe/hqyYJSpmEkX5oF7bOkXbpI7nbjLJ2RiKsvsm p5NMB9WD+zMEtbO6ee8sJqgff7KFdSq3qKbH5y4n4K8BOfHsxX2biaQIfzUQNjiN wArHHZQJNR0V706ZwDO9DSNpwG1ia6xz+tZo02gD2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeekgdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffhufgtgfesthejredttd efjeenucfhrhhomheplfhimhcupfgvfihsohhmvgcuoehjihhmsehsphhorhhkshhmihht hhdrnhgvtheqnecuggftrfgrthhtvghrnhepkeffkefhffefvefgteejffeiueetgfegff eigedvjefhvdetvdettddvgffggeejnecuffhomhgrihhnpehtohhrphhrohhjvggtthdr ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hjihhmsehsphhorhhkshhmihhthhdrnhgvth X-ME-Proxy: Feedback-ID: ib0914636:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 16 Dec 2022 18:39:22 -0500 (EST) Message-ID: <44635a7b-f8dc-4bea-935a-15e6a41ffa88@sporksmith.net> Date: Fri, 16 Dec 2022 17:39:21 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: john.kehayias@protonmail.com, help-guix@gnu.org, guix-devel@gnu.org From: Jim Newsome Subject: re: Drafting a Guix blog post on the FHS container Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=64.147.123.19; envelope-from=jim@sporksmith.net; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671234008; a=rsa-sha256; cv=none; b=QDdZuzFZNWfcqaEcpRuZiaI9gGrWTJOXzXFrVqDubS/PaqHhNfpEf8TghiTYKLiDAIIPVe NbcRzqmoNPpXRF0DuJE6LTCS6QGGzPeLqEVBLbsq25b/yVrbZgzgtFWm93KHtU0cUEuFiJ hm8WWiBkqciTPmEeXCg6k7s/zGMWoP/HNLeQ0fG/Qrb3KTZfWSQd4QSPJD1+0I1MNjxmW6 zi9d4jZwtCYWHhpheISAnDImG3lJ10u3tRChYPn1JfrjwRt9mE0Zi5XKtB4zowJ7zUXlNY TqUGL3ylziGDhLry25fl4t+flQacqGYBWdy1LCWURM4623JVYieOzh9gy9R21Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sporksmith.net header.s=fm2 header.b=bQ0zCNqJ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=vc7nLWXr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671234008; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RxoerOdtp97eCG7OmfpzV1T3lPGCquhxkXy2W/WlKOs=; b=XwgIgJafQQXSk/ZZ+oXceD2O1mqDy5Cy2QdJFCvOSCie/xww2CdFqidHYKE4dZweY5mGJT 6kS0I4QHvG4V3bL47CmWdjLjTtBhmvuR5reRZfek3nWJ6GwvQuwV8xmFDR8WE037txBkYz yKC+Ymovfq86Aem44hFJM5h76epIIdTQlbO43+f0IWerzywQ/t1jskLB6zcXMxdqFAJUqV Fax3ver7aCCYJosK+uAFyzKHYkYgv0/SO5yBT4oFy3LAKncQuQAdnULDmn4Sue+p2/ZAms 3ux2zWEU4KBdz4taDoGBhfVeeHSjzb9reXJreMGaYn/HcrO6taDw9M1/4QLkaw== X-Migadu-Spam-Score: 2.12 X-Spam-Score: 2.12 X-Migadu-Queue-Id: 5402714952 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sporksmith.net header.s=fm2 header.b=bQ0zCNqJ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=vc7nLWXr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-TUID: 1ZzcVYfwxb9Q Sorry for (presumably) breaking threading; I came across this online and don't see a way to set my in-reply-to-email header properly. Anyways just thought I'd mention that I recently learned about this feature, and was able to use it to get a downloaded [Tor Browser Bundle] running with: ``` guix shell \ --container \ --network \ --emulate-fhs \ --preserve='^DISPLAY$' --share=/run/user/$(id -u)/gdm \ openssl@1 \ libevent \ pciutils \ dbus-glib \ bash \ libgccjit \ libcxx \ gtk+ \ coreutils \ grep \ sed \ file \ alsa-lib \ -- \ ./start-tor-browser.desktop -v ``` `--preserve='^DISPLAY$'` and `--share=/run/user/$(id -u)/gdm` are to get access to the display. I'm not sure the second parameter is universally correct; I reverse-engineered it via roughly `ps aux | grep -- -auth`. The `-v` parameter to the browser script keeps it from trying to background itself, which otherwise causes the container and browser to terminate. It'd ultimately be nice to package the Tor Browser Bundle properly for guix, but it's nice to be able to use it this way in the meantime. -Jim [Tor Browser Bundle]: https://www.torproject.org/download/