From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#35417: closed (Re: Tor Service) Date: Thu, 25 Apr 2019 20:31:53 +0200 Message-ID: <87r29q0wdi.fsf@nckx> References: <4c58be2216bfd483e7d4c06cf1c35595@disroot.org> <87wojj1bgh.fsf@nckx> <9db8b9d241902804f6161274028bcf4ee552a26c.camel@disroot.org> <94236ef4be8501c481080e55081fd2bf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJjIy-0003Kq-IB for bug-guix@gnu.org; Thu, 25 Apr 2019 14:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJjBA-0003oC-2F for bug-guix@gnu.org; Thu, 25 Apr 2019 14:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJjB8-0003g5-0V for bug-guix@gnu.org; Thu, 25 Apr 2019 14:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hJjB7-0002M5-Nf for bug-guix@gnu.org; Thu, 25 Apr 2019 14:33:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <94236ef4be8501c481080e55081fd2bf@disroot.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35417@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Raghav, Raghav Gururajan wrote: > DOUBT! =E2=80=98Doubt is an uncomfortable condition, but certainty is a ridiculous one.=E2=80=99 =E2=80=94 Voltaire, more or less > So the package "tor" actually used when using the service=20 > "tor-service-type". Then why the package "tor" isn't added to=20 > the system as it is not showing up in the system packages list? =E2=80=98=E2=80=A6why should it be=E2=80=99? :-) I think the confusion here stems from vague terms like =E2=80=98added to=20 the system=E2=80=99. It sounds like you're still adjusting to Guix=20 vs. traditional FHS distributions where everything is thrown into=20 one big pile =E2=80=94 which is completely understandable! As you found out, all the Tor service really does is start the=20 =E2=80=98tor=E2=80=99 binary. Hence, Tor is indeed installed to your store= =20 (/gnu/store/*-tor-*/bin/tor) and is invoked by the Shepherd when=20 your system starts. But that's completely unrelated to your system profile (which is=20 what I think you mean by =E2=80=98system packages list=E2=80=99; the profil= e=20 generated from the SYSTEM-PACKAGES field of your=20 OPERATING-SYSTEM). To use Tor from the command line, simply add=20 =E2=80=98tor=E2=80=99 to that field. Unlike other distributions, Guix System doesn't make a package's=20 binaries available to *all users* merely because a *service*=20 depends on them. The two steps are (rightly) completely separate. Does that help? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXMH9GgAKCRANsP+IT1Vt eXx2AQCHrQJF8f0InKxY6ldnGsReIOU1yXm/9Qf2BWNhb6mGTAD+LYQ2sUwxLUSC B9eDE+QAtydH6unrGfF9u13BpNPebAA= =Eyzy -----END PGP SIGNATURE----- --=-=-=--