Skip to content

Arm's torrc validation misses alternate Log default

Tor reports a default log value ("Log notice stdout") if none is defined as per... https://trac.torproject.org/projects/tor/ticket/2362

However, with the deb it defaults to "Log notice file /var/log/tor/log" instead, causing validation to think that this is an issue. I should account for this too.

Thanks to Sebastian, here's the part that determines this...

12:31 < Sebastian> atagar: 12:31 < Sebastian> + if (debian_running_as_debiantor()) { 12:31 < Sebastian> + if (!options->Logs && !from_setconf) 12:31 < Sebastian> + config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");

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