-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snap: tor's cookie file not visible for Bitcoin Core #159
Comments
Sounds good. Do you want to create a patch? |
Sorry, I likely currently lack the knowledge to do that. Snap config is mostly very new to me. I don't expect it to be rocket science but still I have no clue where to look at. I can confirm that with current Bitcoin Core v23.0.0 installed from the tarball (saved data from snap and uninstalled the snap package from my Ubuntu) there is no read issue with the cookie file From
|
I assume something needs to be added to the various I have no idea how to do that. |
My OS is Ubuntu 22.04 and Bitcoin Core v23.0.0 is installed via the official snap package. Tor 0.4.7.8 is installed from official torproject.org deb repo.
/etc/tor/torrc
contains:Regarding tor and such
~/snap/bitcoin-core/common/.bitcoin/bitcoin.conf
contains:The user account which runs Bitcoin Core is member of the debian-tor group and I have verified that the file
/run/tor/control.authcookie
is readable for my user account. So no filesystem permission issue here. The cookie file has sufficient permissions to be readable for Bitcoin Core running with my user account.Unfortunately this doesn't seem to work with the snap isolation as the following issue is still logged in Core's debug.log:
Sorry, I don't know much about snaps but I suspect maybe a system file interface is missing to allow Core to access and read files in
/run/tor/
directory?Bitcoin Core synchronizes and connects to peer but it seems to me it can't setup a hidden tor service and is likely not accessible via an onion address. At least I don't see anything in the logs that indicate such.
I'll gladly provide any additional information that I might have missed to give here for now and appreciate any help. I can do additional tests or tweaks if needed, just provide me some details what you would like me to do.
The text was updated successfully, but these errors were encountered: