GNU bug report logs - #35417
Tor Service

Previous Next

Package: guix;

Reported by: Raghav Gururajan <rvgn <at> disroot.org>

Date: Wed, 24 Apr 2019 16:35:01 UTC

Severity: normal

Merged with 35416

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 35417 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 35417 <at> debbugs.gnu.org
Subject: Re: bug#35417: closed (Re: Tor Service)
Date: Thu, 25 Apr 2019 20:31:53 +0200
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.