From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WKUAEeq7tWPSNwAAbAwnHQ (envelope-from ) for ; Wed, 04 Jan 2023 18:48:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SKcOEeq7tWOQqAAA9RJhRA (envelope-from ) for ; Wed, 04 Jan 2023 18:48:26 +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 1E77231CB2 for ; Wed, 4 Jan 2023 18:48:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pD7rr-00007U-TB; Wed, 04 Jan 2023 12:48:01 -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 1pD7rf-00006f-1s for help-guix@gnu.org; Wed, 04 Jan 2023 12:47:48 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pD7rb-0000pw-1Q for help-guix@gnu.org; Wed, 04 Jan 2023 12:47:45 -0500 Date: Wed, 04 Jan 2023 17:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1672854460; x=1673113660; bh=/wVtHBjYZ+E1D/2bJ6mrqgChR8IfA6gJxhZrvTmKOt4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=EhKQaFx7nSDI8kcIyJwL7Cidy0wljXSfwDJEpTiMELtyaQ24Oki4fCyGwLj6gUBbT 4ZgGSGBb5pbIxVVpCqEaeqtGtoQ7sf6DP6rGfxk/obg56miMLZxhoayc/BZGhYIvs1 ZNosBG0IbNzWyOlNo7q4oZadye/mTCR41XrQGY5p3V8u4QjWuyFTnXVliaZMAldsdV 1Hdk8XldfCrRs20/qPdgW2f/KaugvkSccOcRwglz+gmvaYgpNh4k9cdMp5RcSsrrbg JUBwQ1wnjfuCYz8rFT3mCLs92XglIx5GSNuX1ksXj5sRyjMupxHinv7ItYRP48yuod WrKsGZA+olZHg== To: Jim Newsome From: John Kehayias Cc: help-guix@gnu.org, guix-devel@gnu.org Subject: Re: Drafting a Guix blog post on the FHS container Message-ID: <87fscqjioe.fsf@protonmail.com> In-Reply-To: <44635a7b-f8dc-4bea-935a-15e6a41ffa88@sporksmith.net> References: <44635a7b-f8dc-4bea-935a-15e6a41ffa88@sporksmith.net> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=john.kehayias@protonmail.com; helo=mail-40134.protonmail.ch 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, RCVD_IN_MSPIKE_H2=-0.001, 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672854506; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/wVtHBjYZ+E1D/2bJ6mrqgChR8IfA6gJxhZrvTmKOt4=; b=h5jGctY+P1QezMRf9q98efV2uJ4GLJkbuxlrh+k699xXTkYQYv8eVeiHIJ0C3bX7IDVoYy im52/ZUWVB1tR+zPs4cB0+gs7RfaKoW02BXfK88oyJN2oM+xfwFLLBhnUzyCD52BoT/P2c sc3spEKSf1b8BT/0T4qxKsxSpZyJJ0HuOe3qoY91Q6dsg4zF/Mv3JaKxjjPAXWjlP/0eYj jqOWguSXADmvQcqJwDnclK0/blfmYehRiBK40OZ8zW3Ml6lhEc+KzCADFI/1f4vzRbhrTY zvRXDAjH4I/xoXYct1LXjIyb0TSy2VP5udA8tCw1RKvRnuSASzreqYXxoX4Trg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=EhKQaFx7; 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=pass (policy=quarantine) header.from=protonmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672854506; a=rsa-sha256; cv=none; b=X3omix21JD23WgMQrpHfo+LSvecpV0xoUcO4TOhkDX4I6n4iOC2CdTcgMonx4oZt35Ujw3 W/DH01mLykTNonuGhwwuOPr69SU3dfJVUjdNYIE+jnzuM3YBrRusjcSw5929xzI5+OY/oU e5Lwr0cKPj3bJWqw176wQCPoDajx7ORDOsaruEhrL4KK8NPRYfWB640v129RH/TNpUmUJA 7ECEcvfJ3+v/da0b8Jb31AlCS7evD1M2SIaYCjOr65VZA5cGDVCuPkbhGoJn7kTaDz2Kae ItzHpP1YP3tsTbrDg3MN2lPDxjoqeB8wMdVhocpMAeqtdo1u8PlNUQiehhcTjA== X-Spam-Score: -6.22 X-Migadu-Queue-Id: 1E77231CB2 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=EhKQaFx7; 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=pass (policy=quarantine) header.from=protonmail.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.22 X-TUID: +udU92Uw0lWs Hi Jim, On Fri, Dec 16, 2022 at 05:39 PM, Jim Newsome wrote: > 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=3D'^DISPLAY$' > --share=3D/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=3D'^DISPLAY$'` and `--share=3D/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. Thanks again for this! I slightly modified it for the blog post, which you = can see in draft form at . I used 'gcc:l= ib' instead of 'libgccjit' as it is smaller, and changed the needed display= options to be like the previous ones I had. Yours didn't work for me since= it looks like it relies on sharing something from GDM, which I don't use. = But do let me know if my version doesn't work for you. Also gave you credit for this example; if you prefer not to be mentioned by= name/link to the mailing list for any reason, just let me know. Oh, and we do have some (older) patches for building the Tor Browser from s= ource, but I don't know if they currently work: Your example was great though, something very useful! John