[tor-bugs] #28497 [Core Tor/sbws]: SBWS publishing badly broken vote documents

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 18 18:29:22 UTC 2018


#28497: SBWS publishing badly broken vote documents
---------------------------+-----------------------------------
 Reporter:  starlight      |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/sbws  |        Version:  sbws: unspecified
 Severity:  Major          |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by juga):

 Replying to [comment:3 starlight]:
 > is #28500 the fix for this?

 yes, that's one part, the other other is in the Debian package
 https://salsa.debian.org/juxor-
 guest/sbws/commit/f294a98ef544014f64df14dd73bf4a4bb293daf2

 would it not make more sense for the system to fail hard on a non-existent
 configuration file in order to force proper corrective action?

 that's what i thought, but:
 1. in the Debian package is better to don't provide a default
 /etc/sbws/sbws.ini, so that it doesn't not get overwritten on updates if
 the operator modifies the file
 2. in the Debian package cron should call sbws with /etc/sbws/sbws.ini,
 but it won't exist by default and fail

 i could add an environment variable to set the default user config and
 then the debian package could use it in the cron, instead of using the
 config file, but seemed simpler like this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28497#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list