[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
Fri Apr 10 12:35:15 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):
After rebooting the machine ~1.5 days ago, it starts happening again:
{{{
$ sudo find /proc/*/fd -ls | grep '(deleted)'
11271 0 l-wx------ 1 debian-tor debian-tor 64 Apr 8 14:12
/proc/509/fd/9 -> /var/log/tor/debug.log.1\ (deleted)
11272 0 l-wx------ 1 debian-tor debian-tor 64 Apr 8 14:12
/proc/509/fd/10 -> /var/log/tor/notices.log.1\ (deleted)
}}}
I will enable similar log configurations on other hosts with other linux
flavors and start tracking down if the problem is related to
/etc/logrotate.d/tor , tor itself or if it is a one-off on the currently
affected machine.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33850#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list