Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upR3.0: TorVM: Set up private data directory correctly #1287
Comments
andrewdavidwong
changed the title from
TorVM: set up private data directory correctly
to
R3.0: TorVM: Set up private data directory correctly
Oct 7, 2015
marmarek
added
bug
C: other
P: minor
labels
Oct 7, 2015
marmarek
added this to the Release 3.0 milestone
Oct 7, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 7, 2015
Member
I can't reproduce it. Just installed qubes-tor package in fresh R3.0 install, in default fedora-21 template and it simply works.
And indeed the directory is created.
What version of qubes-tor package do you have? Have you called start_tor_proxy.sh script manually instead of qubes-tor service? Some other template? (but I can't think of any case where mkdir doesn't work on some template...)
|
I can't reproduce it. Just installed |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 7, 2015
Member
Also confirmed working in debian templates without need for manual intervention.
As side note, should permissions not be that of TOR_USER rather than user?
|
Also confirmed working in debian templates without need for manual intervention. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 8, 2015
Member
I can't reproduce it. Just installed qubes-tor package in fresh R3.0 install, in default fedora-21 template and it simply works. And indeed the directory is created.
This was in a clone of fedora-21-minimal. Maybe that's why.
What version of qubes-tor package do you have?
bash-4.3# yum info qubes-tor
Loaded plugins: post-transaction-actions, yum-qubes-hooks
Installed Packages
Name : qubes-tor
Arch : x86_64
Version : 0.1.11
Release : 1.fc21
Size : 16 k
Repo : installed
From repo : qubes-vm-r3.0-current
Summary : The Qubes package for running a TorVM
URL : http://www.qubes-os.org
License : GPL
Description : A tor distribution for Qubes OS
Is this the version I should have?
Have you called start_tor_proxy.sh script manually instead of qubes-tor service?
Nope. Just followed the instructions in /doc/TorVM/.
Some other template? (but I can't think of any case where mkdir doesn't work on some template...)
Yes. As mentioned above, fedora-21-minimal instead of fedora-21.
This was in a clone of
Is this the version I should have?
Nope. Just followed the instructions in
Yes. As mentioned above, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 8, 2015
Member
As side note, should permissions not be that of TOR_USER rather than user?
I noticed that if I chown user:user, then the directory automatically gets chowned to toranon:toranon the next time the VM is restarted. That's why I added the parenthetical note "(or something with an equivalent effect)."
I noticed that if I |
marmarek
modified the milestones:
Release 3.0 updates,
Release 3.0
Oct 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 8, 2015
Member
I can confirm the issue on fedora-21-minimal template. Trying to find
out why...
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
I can confirm the issue on fedora-21-minimal template. Trying to find Best Regards, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Oct 8, 2015
Member
Ok, on fedora-21-minimal template qubes-tor service is started before
/rw is mounted.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Ok, on fedora-21-minimal template Best Regards, |
marmarek
closed this
in
marmarek/qubes-app-linux-tor@ef8a555
Oct 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Fix uploaded to current-testing repository |
andrewdavidwong commentedOct 7, 2015
Following the documentation to set up a TorVM in R3.0 does not work, because the private data directory is missing. The user also has to do this (or something with an equivalent effect):
I've already added this to the documentation, but ISTM that this should be done automatically by the scripts, if possible. (I recall seeing some error messages suggesting that there were permissions issues.)