From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 aDYxDWZnaWN9xgAAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 21:15:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kEBQDGZnaWOkZAAAG6o9tA (envelope-from ) for ; Mon, 07 Nov 2022 21:15:34 +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 8DD4C9692 for ; Mon, 7 Nov 2022 21:15:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os8WD-0001wp-Ol; Mon, 07 Nov 2022 15:14:53 -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 1os8WA-0001wZ-QU for help-guix@gnu.org; Mon, 07 Nov 2022 15:14:51 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os8W4-0000zZ-0s for help-guix@gnu.org; Mon, 07 Nov 2022 15:14:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Y3isj7R130GMO2szqf0qPSQ593hNxEnRjREXX3PcQAk=; b=ISpLySs1mrunxB/tP45MJdRmbS ZZArhw75igmjdlWt/ZZ+P7mrGmUIP53hWDdRJcbbqeq5ZdXVnZXUYgKpX/mglYusF34oz3jC8b4q7 hPLPTH7nAvv3JhfjuaK8/QQuNq9QC2CTQSIF82b7o6qIKQZA401dkBwMsoUkytjW1QMEcm7JjXvQF 5V3tIBaBR0cXkX5PUWnEQazpbCekDqWHgnuWwRhFo4UEjKN4tbdTvjvwurx9I/GAlN+5zTiEXRHZZ CKY0woefbO8OM8E3HqSD17tcBUE7vdIBIWr0F7Zqib4U+9MWI22DVvS2OZyXtzEa3gK4UL/FrmFuR a+KB1caCLasMqDNfde/ZMMFibRxu1IH7RxloEr0+S+axnemIc/S9UnvowrR58tMXqp6Wkb42lhmTo j+jAcjBjfpOK12g9mkp1MK7RWUpq3vkKy8gEI9FTPLgzIOtrXI0jc5xwlQWp/OVHkjVbNO6NSTpU8 3UuJDPuNbR7jniXWigxPEYOo55sorbRYAUQqiosinU9nNXyGo6k8AVjXt1CFTXna0kCU0YO8fVlDe BnIxoNVl2S9CZTnPFkUV1ANXqytkbAi16eE2u+NfB0SxhQbXKhzBSbnE3Ai9T7VpFXrSt4FiPSV/U dWDDMZ7fpDtKVm/UvRpaEZqwgys8e2JkQ1opezeVs=; Received: from 77-252-46-244.static.ip.netia.com.pl ([77.252.46.244] helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1os8Vt-0004fk-3E; Mon, 07 Nov 2022 21:14:33 +0100 Date: Mon, 7 Nov 2022 21:14:30 +0100 To: Gottfried Cc: Denis 'GNUtoo' Carikli , help-guix@gnu.org Subject: Re: tor Message-ID: <20221107211430.4145e9bc@koszkonutek-tmp.pl.eu.org> In-Reply-To: <1f999794-32e4-718a-2e6b-1395e1d116aa@posteo.de> References: <5f9b2c8a-ee45-451e-da86-c6944a7a910a@posteo.de> <87a67or2g7.fsf@riseup.net> <09e45c31-cce5-da97-dbc0-23975f742279@posteo.de> <87h71u9ez1.fsf@riseup.net> <92a94bf3-12a8-8743-e338-7906835c9697@posteo.de> <20220901162735.785a14c9@primary_laptop> <20221105012942.2be20962@primary_laptop> <1f999794-32e4-718a-2e6b-1395e1d116aa@posteo.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/sfJxP3=xlLRt6QooVl+k4yV"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org 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, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 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: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667852133; h=from:from:sender:sender:reply-to: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=Y3isj7R130GMO2szqf0qPSQ593hNxEnRjREXX3PcQAk=; b=B6RNeOZp5U4iX0pqpwPz8bjZxyZ7tFkSJiVzfkaVivC8WXMZ9Pp4hk+z1VaYsAp9cpXNx7 f1/qLcUrxfBe4nyDsRNdsysyAgNIZiemO7mQ7QNIowQTmQQr9xlVruTOjpwvoBq1DUJosg 4Ri5Uy7/WH0bnh67aE4Ap5nUKcCn1v5WHyH5LXPVNFFXUxfjyxJsCrlhYKhirgXAxJwj7C dtalwXryoMF23sqLu4e4+KpUHI7vSvkPMXmFMRoonh2pqgKU57hpWIgvM/QclVYeQzvGuz kFmLIYuNyYv9yAxmUHm9Sh6rIbyIvzQMCOoBuzaH2zV/mX2mMwHJgsyUaVp+Cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667852133; a=rsa-sha256; cv=none; b=ns7DKRRVLwoRRhSjc8snmdnGTKi5xHtM7Lo82Lvjr9p7CWD4qUsVPuvdyiqaTz9k4xHdp/ lPvgzwNsb949QeJhIgnYdtk+Vh9IdDu+ftzQVMo8Of25oMfwoDqGOm7nSWR2NS/5q/agTs J7DvR0ObTsZBK4OntgREQJquOvsxhjJmHpcjIYDoTGePf311KHrhT4dZ9MIkULCqKXrhBv h0j2Yw1gjtVuJESy4fqClfTV8elMgaBFTIbfB2AWd3C1kC5RCgscERvuDPx0V5HyDjAyRf ccYPczck4pjQ9IKMfky5puGj5AUwgWuEgXspD2bu0xVmMukwrShUpGu5TFGyiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=ISpLySs1; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=ISpLySs1; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 8DD4C9692 X-Spam-Score: -4.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8ARHnlsfexVZ --Sig_/sfJxP3=xlLRt6QooVl+k4yV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Will this be also at some stage a Guix package or everybody has to=20 > install it as a script? I understand Denis' intention is to ultimately make *the script* into a Guix package. But it is possible to have the script look like an application and appear in user's applications menu. So in the end launching the Tor Browser through it wouldn't be noticeably different from running a normal browser. > ------------------------------------------------------------------- > I did only 2 scripts in my life. > So I need help to do this one. >=20 > I did: >=20 > 1. made a: > "tor-browser.sh" > through: > "touch tor-browser.sh" >=20 > 2. I opened it with: > "nano tor-browser.sh" >=20 > 3. I made the first line: > "#!/bin/bash" >=20 > 4. to make it executable: > "chmod +x tor-browser.sh >=20 >=20 > 5. I put it into: > ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/ > (this is what I understood) If you want to use the script Denis attached in his email, you don't need to add the `#/bin/bash` shebang line - there's already a `#/bin/sh` line in what Denis made. Also, you don't need to put this script in the Tor Browser's directory. Perhaps a more suitable place would be `~/.local/bin` (a matter of convention). > 6. > bash can't find it, after making it: > where is my mistake? Shells like Bash use a special environment variable called `PATH` to determine what directories to search for the scripts/binaries user is trying to run. If the script's containing directory (in this case `~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/`) is not listed in that variable, Bash is not going to look there when it searches for your script. You can check current contents of the `PATH` variable by entering echo "$PATH" You can add the Tor Browser directory to `PATH` for the duration of your current shell session by entering something like export PATH=3D"$HOME"/.local/share/torbrowser/tbb/x86_64/tor-browser_en= -US/Browser/:"$PATH" If you instead choose to place the script inside `~/.local/bin`, that directory is (probably) going to be included in the `PATH` by default (by the means of your default, auto-created shell initialization scripts). > 7. after doing >=20 > guix shell \ > --share=3D/srv/data/Downloads/ \ > --expose=3D/run/user/$(id -u)/ \ > --expose=3D/tmp/.X11-unix \ > --expose=3D/tmp/.X1-lock \ > --container \ > --emulate-fhs \ > --network \ > bash coreutils dbus-glib file grep gcc:lib gtk+@3 libxt sed -- \ > bash -l -c "export DISPLAY=3D${DISPLAY}; ./start-tor-browser" >=20 > it downloaded 94 MB. > ------------------------------------------------------------------------ > [...] >=20 > guix shell: mistake: statfs: /srv/data/Downloads/: file or directory not= =20 > found. > ---------------------------------------------------------------------- > Where are my mistakes? Denis explained this issue pretty thoroughly in the comment in his script. Let me quote that > # I have my Download folder somewhere else. Right now it's at > # /srv/data/Downloads on another partition. And I want tor-browser to > # use that folder for storing Downloads. > # For that to work we need to give the tor-browser write access to > # /srv/data/Downloads/. Other methods were tried but didn't work: > # - mounting /srv/data/Downloads/ to Downloads resulted in the > # tor-browser failing to start. > # - Using --exporse=3D/srv/data/Downloads/=3D${HOME}/.../Browser/Downloads > # did not work either because Download was unaccessible. Replacing > # --expose by share in the command above didn't change anything. > # So I ended up using --share=3D/srv/data/Downloads/. That requires the > # user to do the symlink manually though. This means the `--share=3D/srv/data/Downloads/` line in Denis' script is only appropriate if you want to store the downloads under `/srv/data/Downloads` as he does. Otherwise it is not needed - the Tor Browser directory (together with its `Downloads` subdir) will be shared to the container automatically because it is seen by Guix as the current directory (because Denis' script cd's there first). Alternatively, you could tell Guix not to share current directory and to just share `Downloads/`. You'd use the following extra lines --no-cwd \ --share=3D"$HOME"/.local/share/torbrowser/tbb/i686/tor-browser_en-US/Br= owser/ \ Although this is not related, I believe the `export DISPLAY=3D${DISPLAY};` trick in the script can be replaced with the `--preserve` option of `guix shell`. At this very moment I realized I can also improve some code of mine this way :o > Kind regards >=20 > Gottfried Best, Wojtek -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A Meet Krak=C3=B3w saints! #50: blessed Wincenty Kad=C5=82ubek Poznaj =C5=9Bwi=C4=99tych krakowskich! #50: b=C5=82ogos=C5=82awiony Wincen= ty Kad=C5=82ubek https://pl.wikipedia.org/wiki/Wincenty_Kad=C5=82ubek -- (sig_end) On Mon, 7 Nov 2022 19:24:14 +0000 Gottfried wrote: > Hi Denis, >=20 > thanks for your work. >=20 > Will this be also at some stage a Guix package or everybody has to=20 > install it as a script? > ------------------------------------------------------------------- > I did only 2 scripts in my life. > So I need help to do this one. >=20 > I did: >=20 > 1. made a: > "tor-browser.sh" > through: > "touch tor-browser.sh" >=20 > 2. I opened it with: > "nano tor-browser.sh" >=20 > 3. I made the first line: > "#!/bin/bash" >=20 > 4. to make it executable: > "chmod +x tor-browser.sh >=20 >=20 > 5. I put it into: > ~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/ > (this is what I understood) >=20 > 6. > bash can't find it, after making it: > where is my mistake? >=20 > 7. after doing >=20 > guix shell \ > --share=3D/srv/data/Downloads/ \ > --expose=3D/run/user/$(id -u)/ \ > --expose=3D/tmp/.X11-unix \ > --expose=3D/tmp/.X1-lock \ > --container \ > --emulate-fhs \ > --network \ > bash coreutils dbus-glib file grep gcc:lib gtk+@3 libxt sed -- \ > bash -l -c "export DISPLAY=3D${DISPLAY}; ./start-tor-browser" >=20 > it downloaded 94 MB. > ------------------------------------------------------------------------ > gfp@Tuxedo ~$ guix shell \ > --share=3D/srv/data/Downloads/ \ > --expose=3D/run/user/$(id -u)/ \ > --expose=3D/tmp/.X11-unix \ > --expose=3D/tmp/.X1-lock \ > --container \ > --emulate-fhs \ > --network \ > bash coreutils dbus-glib file grep gcc:lib gtk+@3 libxt sed -- \ > bash -l -c "export DISPLAY=3D${DISPLAY}; ./start-tor-bro= wser" > substitute: Liste der Substitute von =E2=80=9Ehttps://ci.guix.gnu.org=E2= =80=9C wird=20 > aktualisiert =E2=80=A6 100.0% > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 substitute: Liste=20 > der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird a= ktualisiert =E2=80=A6=20 > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 substitute: Liste=20 > der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird a= ktualisiert =E2=80=A6=20 > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 substitute: Liste=20 > der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird a= ktualisiert =E2=80=A6=20 > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 substitute: Liste=20 > der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird a= ktualisiert =E2=80=A6=20 > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 substitute: Liste=20 > der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird a= ktualisiert =E2=80=A6=20 > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 100.0% > 85,6 MB werden heruntergeladen > gtk%2B-3.24.30-doc 3.0MiB 809KiB/s 00:04=20 > [##################] 100.0% > glibc-for-fhs-2.33-debug 19.8MiB 1.2MiB/s 00:16=20 > [##################] 100.0% > librsvg-2.50.7 2.6MiB 1.0MiB/s 00:03=20 > [##################] 100.0% > librsvg-2.50.7-doc 47KiB 564KiB/s 00:00=20 > [##################] 100.0% > librsvg-2.50.7-debug 15.9MiB 1.5MiB/s 00:10=20 > [##################] 100.0% > libxt-1.2.1-doc 320KiB 655KiB/s 00:00=20 > [##################] 100.0% > mozjs-91.13.0 14.5MiB 1008KiB/s 00:15=20 > [##################] 100.0% > polkit-121 185KiB 771KiB/s 00:00=20 > [##################] 100.0% > colord-minimal-1.4.5 712KiB 708KiB/s 00:01=20 > [##################] 100.0% > gtk%2B-3.24.30 7.8MiB 885KiB/s 00:09=20 > [##################] 100.0% > gtk%2B-3.24.30-bin 783KiB 956KiB/s 00:01=20 > [##################] 100.0% > gtk%2B-3.24.30-debug 11.3MiB 1.5MiB/s 00:08=20 > [##################] 100.0% > substitute: Liste der Substitute von =E2=80=9Ehttps://ci.guix.gnu.org=E2= =80=9C wird=20 > aktualisiert =E2=80=A6 100.0% > substitute: Liste der Substitute von =E2=80=9Ehttps://bordeaux.guix.gnu.o= rg=E2=80=9C=20 > wird aktualisiert =E2=80=A6 substitute: Liste der Substitute von=20 > =E2=80=9Ehttps://bordeaux.guix.gnu.org=E2=80=9C wird aktualisiert =E2=80= =A6 100.0% > Folgende Ableitung wird erstellt: > /gnu/store/vg7dkn3j5rmf9x7a4fg7an2ps90phv4i-profile.drv >=20 > 8,3 MB werden heruntergeladen > bash-5.1.8-doc 301KiB 915KiB/s 00:00=20 > [##################] 100.0% > bash-5.1.8-include 70KiB 459KiB/s 00:00=20 > [##################] 100.0% > file-5.41 349KiB 645KiB/s 00:01=20 > [##################] 100.0% > gcc-12.2.0-lib 5.6MiB 961KiB/s 00:06=20 > [##################] 100.0% > linux-libre-headers-5.10.35 1.1MiB 728KiB/s 00:02=20 > [##################] 100.0% > 7 Veredelungen f=C3=BCr cups-filters-1.28.9 werden angewandt =E2=80=A6 > 4 Veredelungen f=C3=BCr harfbuzz-2.8.2 werden angewandt =E2=80=A6 > 3 Veredelungen f=C3=BCr cups-2.3.3op2 werden angewandt =E2=80=A6 > 8 Veredelungen f=C3=BCr librsvg-2.50.7 werden angewandt =E2=80=A6 > 8 Veredelungen f=C3=BCr librsvg-2.50.7 werden angewandt =E2=80=A6 > 2 Veredelungen f=C3=BCr libxt-1.2.1 werden angewandt =E2=80=A6 > 4 Veredelungen f=C3=BCr polkit-121 werden angewandt =E2=80=A6 > 2 Veredelungen f=C3=BCr python-3.9.9 werden angewandt =E2=80=A6 > 8 Veredelungen f=C3=BCr colord-minimal-1.4.5 werden angewandt =E2=80=A6 > 2 Veredelungen f=C3=BCr glib-2.70.2 werden angewandt =E2=80=A6 > 19 Veredelungen f=C3=BCr gtk+-3.24.30 werden angewandt =E2=80=A6 > 3 Veredelungen f=C3=BCr mesa-21.3.8 werden angewandt =E2=80=A6 > Zertifikatsb=C3=BCndel der Zertifikatsautorit=C3=A4ten wird erstellt =E2= =80=A6 > Liste der Emacs-Unterverzeichnisse wird erzeugt =E2=80=A6 > Schriftartenverzeichnis wird erstellt =E2=80=A6 > Zwischenspeicher f=C3=BCr GdkPixbuf-Lader wird erzeugt =E2=80=A6 > Zwischenspeicher f=C3=BCr GLib-Schemata wird erzeugt =E2=80=A6 > Zwischenspeicher f=C3=BCr GTK-Symbolthemen wird erzeugt =E2=80=A6 > Dateien im Zwischenspeicher f=C3=BCr GTK-Eingabemethoden werden erstellt = =E2=80=A6 > Verzeichnis von Info-Handb=C3=BCchern wird erstellt =E2=80=A6 > Zwischenspeicher f=C3=BCr XDG-Desktop-Dateien wird erzeugt =E2=80=A6 > XDG-Mime-Datenbank wird erstellt =E2=80=A6 > Profil mit 10 Paketen wird erstellt =E2=80=A6 > guix shell: Fehler: statfs: /srv/data/Downloads/: Datei oder Verzeichnis= =20 > nicht gefunden >=20 > guix shell: mistake: statfs: /srv/data/Downloads/: file or directory not= =20 > found. > ---------------------------------------------------------------------- > Where are my mistakes? > thanks >=20 > Kind regards >=20 > Gottfried >=20 >=20 >=20 > Am 05.11.22 um 01:29 schrieb Denis 'GNUtoo' Carikli: > > Hi again, > >=20 > > I had some data loss so I wasn't able to reply to this thread before. > >=20 > > I managed to make the tor-browser work in Guix proper, and I've > > attached the script I used for that. It's hardcoded for i686 though so > > it needs to be modified for x86_64. > >=20 > > Even if that works, there is a problematic issue: the tor-browser has a > > potential freedom issue: on one hand it very strongly advises people > > not to install any addons, on the other hand in "tools->Addons and > > themes->Plugins", there is the following message: =20 > >> Get extensions and themes on addons.mozilla.org =20 > >=20 > > And the issue is that that repository also contains nonfree addons. > >=20 > > If that address can get removed or changed, we could have something > > where we could be sure that it is FSDG compliant, so we could probably > > ship scripts like guix-tor-browser-installer for instance. > >=20 > > I've tried to find where that string is set in the binaries in the hope > > of being able to make a dead simple sed script that would fix the > > potential FSDG issue at least at installation time, but it didn't > > find much: =20 > >> $ tar xf tor-browser-linux64-11.5.4_en-US.tar.xz > >> $ grep addons.mozilla.org -r tor-browser_en-US > >> tor-browser_en-US/Browser/TorBrowser/Docs/ChangeLog.txt: * Bug > >> 10464: Remove addons.mozilla.org from NoScript whitelist grep: > >> tor-browser_en-US/Browser/libxul.so: binary file matches =20 > > =20 > >> $ strings tor-browser_en-US/Browser/libxul.so | \ > >> grep addons.mozilla.org > >> addons.mozilla.org > >> $http://addons.mozilla.org/ca/crl.pem0 > >> signingca1.addons.mozilla.org1!0 > >> $http://addons.mozilla.org/ca/crl.pem0N =20 > >=20 > > The issue is that this domain is also used for addons updates, so we > > can't simply remove it blindly. We need to only remove that string in > > "tools->Addons and themes->Plugins". > >=20 > > The advantage of patching binaries is that we don't need to rebuild it, > > so we really have the tiniest amount of change possible to make it FSDG > > compliant (and we can hope that it doesn't change the tor-browser > > fingerprint). > >=20 > > As far as I understand it should also also be OK to use binaries like > > that as long as we're also able to rebuild it in an FSDG distribution > > somehow. > >=20 > > Though here the path forward is probably to dig into upstream bug > > reports and see what upstream thinks about making the tor-browser FSDG > > compliant and/or removing the information of where to find addons. > >=20 > > Denis. =20 >=20 >=20 >=20 --Sig_/sfJxP3=xlLRt6QooVl+k4yV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY2lnJgAKCRBLxSIcWnn9 GjnGAP9MQJqA1C+3c2Ev8NqG++zATUKNhaHrcYfn1mB8+SxCgAD/Q6i9nLvqSJ2N vdrGhCXFyD7/WGw+sChmbaExh85u7AE= =wg75 -----END PGP SIGNATURE----- --Sig_/sfJxP3=xlLRt6QooVl+k4yV--