all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 35417@debbugs.gnu.org
Subject: bug#35417: closed (Re: Tor Service)
Date: Thu, 25 Apr 2019 20:31:53 +0200	[thread overview]
Message-ID: <87r29q0wdi.fsf@nckx> (raw)
In-Reply-To: <94236ef4be8501c481080e55081fd2bf@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

Raghav,

Raghav Gururajan wrote:
> DOUBT!

  ‘Doubt is an uncomfortable condition,
   but certainty is a ridiculous one.’
     — Voltaire, more or less

> So the package "tor" actually used when using the service 
> "tor-service-type". Then why the package "tor" isn't added to 
> the system as it is not showing up in the system packages list?

‘…why should it be’? :-)

I think the confusion here stems from vague terms like ‘added to 
the system’.  It sounds like you're still adjusting to Guix 
vs. traditional FHS distributions where everything is thrown into 
one big pile — which is completely understandable!

As you found out, all the Tor service really does is start the 
‘tor’ binary.  Hence, Tor is indeed installed to your store 
(/gnu/store/*-tor-*/bin/tor) and is invoked by the Shepherd when 
your system starts.

But that's completely unrelated to your system profile (which is 
what I think you mean by ‘system packages list’; the profile 
generated from the SYSTEM-PACKAGES field of your 
OPERATING-SYSTEM).  To use Tor from the command line, simply add 
‘tor’ to that field.

Unlike other distributions, Guix System doesn't make a package's 
binaries available to *all users* merely because a *service* 
depends on them.  The two steps are (rightly) completely separate.

Does that help?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2019-04-25 18:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24 16:34 Tor Service Raghav Gururajan
2019-04-24 17:02 ` bug#35417: " Julien Lepiller
2019-04-25 11:56   ` ng0
2019-04-25 11:56   ` ng0
2019-04-24 17:02 ` Julien Lepiller
2019-04-24 18:01 ` Raghav Gururajan
2019-04-24 18:53 ` Tobias Geerinckx-Rice
2019-04-25  3:42 ` bug#35417: closed (Re: Tor Service) Raghav Gururajan
2019-04-25  9:10 ` Raghav Gururajan
2019-04-25 18:31   ` Tobias Geerinckx-Rice [this message]
2019-04-25  9:24 ` Raghav Gururajan
2019-04-25  9:59   ` Julien Lepiller
2019-04-25 10:02   ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r29q0wdi.fsf@nckx \
    --to=me@tobias.gr \
    --cc=35417@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.