Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-09-05 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  closed
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:  fixed
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by isis):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 This is now handled in the logrotate config.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-25 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  reopened
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--
Changes (by isis):

 * status:  closed => reopened
 * resolution:  fixed =>


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-25 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  closed
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:  fixed
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by isis):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 SIGHUPs to flog are added in
 [https://gitweb.torproject.org/project/bridges/bridgedb-
 admin.git/commit/?id=a218b01ab0f0ce10c988c63bf8ba1243b64a55fd commit]
 `a218b01a`.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-10 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  reopened
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--
Changes (by weasel):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 {{{
 tor-nagios: [polyanthum] upgraded libraries is WARNING: The following
 processes have libs linked that were upgraded: bridgedb: flog (20566)
 }}}

 I suspect the logrotate configuration should include a postrotate snippet
 to send a SIGHUP to flog.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-08 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  closed
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:  fixed
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by isis):

 * status:  needs_review => closed
 * resolution:   => fixed


Comment:

 I had to make some changes to the above patch, they're in commit
 `e3267177` in the bridgedb-admin repo. This is now deployed.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-04 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  needs_review
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:  bridgedb-0.3.7|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--
Changes (by isis):

 * status:  new => needs_review
 * keywords:   => bridgedb-0.3.7


Comment:

 See [https://gitweb.torproject.org/project/bridges/bridgedb-
 admin.git/commit/?id=3554ff652249192fc0e6a05154e6a57d2dba8ee3 commit]
 `3554ff65` in the bridgedb-admin repo for the change to the `bin/run-
 bridgedb` script to call flog for logging Python errors, and my
 `fix/19691`
 [https://gitweb.torproject.org/user/isis/bridgedb.git/log/h?=fix/19691
 branch] in the bridgedb repo for documentation of the change.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-04 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  new
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by weasel):

 done

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-04 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  new
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by isis):

 Weasel, could you install `flog` on polyanthum, please?
 (https://packages.debian.org/jessie/flog)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-08-02 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  new
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal| Resolution:
 Keywords:|  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+--

Comment (by isis):

 It's not actually BridgeDB doing this, but instead the bash invocation in
 `/srv/bridges.torproject.org/bin/run-bridgedb`:
 {{{
 bridgedb -r ${RUN_DIR} -c ${BRIDGEDB_CONFIG} < /dev/null >>
 ${BRIDGEDB_SERVER_LOGFILE} 2>&1 & disown
 }}}

 I could just stop calling it that way… but it's the only way to catch
 things Python might print to stderr/stdout.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #19691 [Obfuscation/BridgeDB]: does not re-open logfiles properly

2016-07-16 Thread Tor Bug Tracker & Wiki
#19691: does not re-open logfiles properly
--+--
 Reporter:  weasel|  Owner:  isis
 Type:  defect| Status:  new
 Priority:  High  |  Milestone:
Component:  Obfuscation/BridgeDB  |Version:
 Severity:  Normal|   Keywords:
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+--
 the running bridgedb has filedescriptors open for logfiles that have been
 rotated away.

 {{{
 # dsa-check-libs --verbose
 Running /usr/bin/lsof -F0 -n
 adding bridgedb(2618) because of
 [/srv/bridges.torproject.org/log/server.log-20160705 (deleted)]:
 f1awl
 
tREGG0x8401;0x0D0x801s11769i132741k0n/srv/bridges.torproject.org/log/server.log-20160705
 (deleted)
 adding bridgedb(2618) because of
 [/srv/bridges.torproject.org/log/server.log-20160705 (deleted)]:
 f2awl
 
tREGG0x8401;0x0D0x801s11769i132741k0n/srv/bridges.torproject.org/log/server.log-20160705
 (deleted)
 }}}

 This not only is a bug, it also confuses our monitoring about services
 that need to be restarted.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs