[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #22102 [Core Tor/Tor]: Can't HUP with a relative path in Log line
#22102: Can't HUP with a relative path in Log line
------------------------------+--------------------------
Reporter: pastly | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version: Tor: 0.3.0.6
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------------
Start Tor with
{{{
DataDirectory /home/mtraudt/src/qtime-with-load-testing/datadir-test
Log notice file ./datadir-test/notice.log
RunAsDaemon 1
SocksPort 0
}}}
and then sending a HUP after Tor bootstraps to cause
{{{
Apr 29 13:58:47.000 [notice] Received reload signal (hup). Reloading
config and resetting internal state.
Apr 29 13:58:47.000 [notice] Read configuration file "/home/mtraudt/src
/qtime-with-load-testing/torrc-test".
Apr 29 13:58:47.000 [warn] SocksPort, TransPort, NATDPort, DNSPort, and
ORPort are all undefined, and there aren't any hidden services configured.
Tor will still run, but probably won't do anything.
Apr 29 13:58:47.000 [warn] Couldn't open file for 'Log notice file
./datadir-test/notice.log': No such file or directory
Apr 29 13:58:47.000 [warn] Failed to parse/validate config: Failed to init
Log options. See logs for details.
Apr 29 13:58:47.000 [err] Reading config failed--see warnings above. For
usage, try -h.
Apr 29 13:58:47.000 [warn] Restart failed (config error?). Exiting.
}}}
May be related to #22101?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22102>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs