[tor-bugs] #25512 [Core Tor/Tor]: Tor in-process restart fails to write auth cookie
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Mar 15 12:23:47 UTC 2018
#25512: Tor in-process restart fails to write auth cookie
-------------------------+-------------------------------------------------
Reporter: tla | Owner: ahf
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.4.x-final
Component: Core | Version: Tor: unspecified
Tor/Tor | Keywords: tor-mobile, auth cookie, restart,
Severity: Normal | in-process
Actual Points: | Parent ID: #23684
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
I integrated latest Tor master on 2018-03-15 into
[http://github.com/iCepa/Tor.framework/ Tor.framework] resp.
[http://github.com/mtigas/OnionBrowser OnionBrowser 2]. Shutdown with the
improved `SIGNAL SHUTDOWN` seems to work just fine.
When restarting Tor, however, it turns out, that the auth cookie is not
written to the file system on the second time. First time works, file
obviously gets deleted on `SHUTDOWN` but is not recreated on second start.
There is an according log entry the first time:
[info] init_cookie_authentication: Generated auth cookie file in
'"/var/mobile/Containers/Data/Application/0653FD89-2D17-477A-B541-FC53F1A29EBD/Library/Caches/tor/control_auth_cookie"'.
This is **not** appearing on restart.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25512>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list