Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 344
    • Issues 344
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #2362

"GETINFO config-text" adds spurious DataDirectory, Log entries

Repro steps:

  • use a blank torrc (just setting the ControlPort)
  • run tor
  • issue a GETINFO get-text

result: it provides a 'Log notice stdout' entry expected: we should only get back entries that differ from their defaults (in this case only the ControlPort)

from irc: 15:03 < armadev> atagar: it is a tor bug, i believe. i just reproduced. 15:03 < atagar> ok, I'll file a ticket - thanks :) 15:04 < armadev> if (smartlist_len(elts) == 0) 15:04 < armadev> smartlist_add(elts, tor_strdup("stdout")); 15:04 < armadev> in options_init_logs() 15:04 < armadev> that's where it comes from. we add it if there are no other logs. 15:04 < armadev> hmmmm. no, i take that back. 15:05 < armadev> /* Special case on first boot if no Log options are given. */ 15:05 < armadev> if (!options->Logs && !options->RunAsDaemon && !from_setconf) 15:05 < armadev> config_line_append(&options->Logs, "Log", "notice stdout"); 15:05 < armadev> there we go.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking