Bug 230714 - security/i2pd: log rotation issue
Summary: security/i2pd: log rotation issue
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
Depends on:
Reported: 2018-08-17 20:28 UTC by Eugene Grosbein
Modified: 2018-09-01 22:11 UTC (History)
0 users

See Also:
eugen: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein freebsd_committer 2018-08-17 20:28:53 UTC
The port security/i2pd installs a configuration file for newsyslog to rotate /var/log/i2pd/i2pd.log and compress old copy and then send signal 1 to i2pd.

i2pd ignores the signal and does not close/reopen the log so newly created by the newsysod i2pd.log remains unused and i2pd continues writing to now unlinked old file filling /var indefinitely.
Comment 1 Dmitry Marakasov freebsd_committer 2018-08-28 13:43:50 UTC
Comment 2 commit-hook freebsd_committer 2018-08-28 15:37:42 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Aug 28 15:37:39 UTC 2018
New revision: 478322
URL: https://svnweb.freebsd.org/changeset/ports/478322

  - Fix log rotation by using right signal to make i2pd reopen its logfile

  PR:		230714
  Reported by:	eugen