From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OEa+GDkNpWN0bgEAbAwnHQ (envelope-from ) for ; Fri, 23 Dec 2022 03:06:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KAc/GTkNpWPOagEA9RJhRA (envelope-from ) for ; Fri, 23 Dec 2022 03:06:49 +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 00B4A20BC7 for ; Fri, 23 Dec 2022 03:06:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8XS5-0001or-Pw; Thu, 22 Dec 2022 21:06:25 -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 1p8XS3-0001oa-9c; Thu, 22 Dec 2022 21:06:23 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8XS1-0007ef-7j; Thu, 22 Dec 2022 21:06:23 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4NdVsP5qtkz9sY4; Fri, 23 Dec 2022 02:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1671761177; bh=OnKzlPl+UVYosHqNylMxEatUfuw51WRwsIYAwn3bJwM=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=C/41qeMB7lrlm4iRDrZo6DKyNajbww5UwBOFkTWSEkrQIe1OZMJ8XKGVxuWNXg7ON RmviX0BMWktbqvvNwtDlLKge2yRe4LaLIBpRsBxQNw6yz+xdQwlyoTsVUThtKE+OYj zCSpnGV8hAjIwTItoiax0ymqywxQkZLWXA0hYmjQ= X-Riseup-User-ID: 4D4FA20074A49F92D57B4559AC2EE09A8C753AF36B10BF7F9CDDAA8A81DD3A57 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4NdVsP0dvrz5vRh; Fri, 23 Dec 2022 02:06:16 +0000 (UTC) References: <44635a7b-f8dc-4bea-935a-15e6a41ffa88@sporksmith.net> From: Csepp To: Jim Newsome Cc: john.kehayias@protonmail.com, guix-devel@gnu.org, help-guix@gnu.org Subject: Re: Drafting a Guix blog post on the FHS container Date: Fri, 23 Dec 2022 03:04:47 +0100 In-reply-to: <44635a7b-f8dc-4bea-935a-15e6a41ffa88@sporksmith.net> Message-ID: <87a63edgch.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-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=1671761209; a=rsa-sha256; cv=none; b=LnNTaRRtkB5PiFpiAcKWd4sxCnwruAsIsDvElLmD8kA129AWxTlQQovXcauXcEnl4q/x/V VTP/PMBw8xMwbxlDqxjyc4kkPjNssy8ZWrATE4TYIpt8ZEGELCPNQDfNFvg4WbYHCb7LLS qUx3gTgdHnm6+9vok6I2+sltnBDnl/P3iTWJWXMZvQDVxgHfRFKgEcAyTlLdmufxQQ8+Vo wRVMrkM6QVoX92xrmfabcJllMnMn0xze2ewgsLr2TOGdJV7mAfXpMJLeBACL5CZaO6hnYk 1dNOkIM0FCi9glJ6dG0ewvMpV9KCiB6SP0GYYCg3Kx1r6uFda4r+leG7s+CMjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="C/41qeMB"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=riseup.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671761209; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xeBvciumDdjJYz8XVlPMdwhgaJGgXZcdR5H0xlgihM0=; b=D0pbe/idOqQvtjCfHQ6iKuWxLx1URDUnZNdxg1PQ8yFJuvhA//jXhtyCzSBdXwauODxapj 67tR6Xv7pbbFXr8zqNmdFCJzOrpjUwF4l0KZz8uyk5tcTBKcGrQpYsgifT/SNCtuzwhKR6 tSNRXjHqEX+xG7vXKqlVWpOuvTNBXZDp/ktgi/3PJnbE45bIcDVyhjd5VXOlPQNximdoRP MrHVGyYHI9kOfPSWiyNi/9ImQgPF4fQyoO2AVLn1a842J2MKCRVG4IUlnJ4W4g3qp8o40w WIQVJic1dGrHt0lzYxaKjWHYKb3bBEU6nQvFy1pQV6WhnlcLWL10W+L1XTmF3Q== X-Spam-Score: -11.52 X-Migadu-Queue-Id: 00B4A20BC7 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="C/41qeMB"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=riseup.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.52 X-TUID: IAC5TSuCfB8V Jim Newsome writes: > 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/ Any idea how to use this for running appimages? Or anything that requires FUSE in general?