[tor-bugs] #33850 [Core Tor/Tor]: log rotation for /var/log/tor/debug.log did not close handle to old file after compression

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 16 13:15:45 UTC 2020


#33850: log rotation for /var/log/tor/debug.log did not close handle to old file
after compression
--------------------------+------------------------
 Reporter:  MaKoTor       |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------

Comment (by MaKoTor):

 Found versions which seem NOT AFFECTED:

 0.2.9.14-1ubuntu1~16.04.3
 0.4.1.5-1~xenial+1

 Since 0.4.2.7-1~xenial+1 IS affected (see above), a change somewhere
 between

 0.4.1.5
 and
 0.4.2.7

 is most likely the culprit. Will try to test tor-0.4.3.4-rc to see if the
 bug is gone, ./src/lib/log/log.c seems to be under heavy development right
 now.

 It's also not log-rotation specific, 0.4.2.7 just doesn't close the log
 files on HUP.

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


More information about the tor-bugs mailing list