GNU bug report logs -
#35417
Tor Service
Previous Next
Full log
View this message in rfc822 format
[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.