Opened 10 months ago

Closed 9 months ago

#2223 closed defect (fixed)

Debian: Incorrect directory for wrapper.config in logs

Reported by: slumlord Owned by:
Priority: minor Milestone: 0.9.35
Component: router/general Version: 0.9.34
Keywords: debian, logs, base directory Cc: zzz
Parent Tickets:

Description

From #2222, it seems that installs from the package manager on Debian will not show the correct directory for the wrapper.config file:

CRIT [P reader 3/4] net.i2p.router.Router : To prevent future shutdowns, increase wrapper.java.maxmemory in /usr/share/i2p/wrapper.config

Note: /usr/share/i2p/wrapper.config and not /etc/i2p/wrapper.config

It seems like there is code to echo the correct directory in router/java/src/net/i2p/router/tasks/OOMListener.java, but perhaps it has a bug?

Subtickets

Change History (2)

comment:1 Changed 10 months ago by slumlord

  • Summary changed from Debian: Incorrect directory wrapper.config in logs to Debian: Incorrect directory for wrapper.config in logs

comment:2 Changed 9 months ago by zzz

  • Component changed from unspecified to router/general
  • Milestone changed from undecided to 0.9.35
  • Resolution set to fixed
  • Status changed from new to closed

Code checked only if running as a service, but for the Deb pkg, it's in /etc/i2p whether running as a service or not.
In 22a2f06a4ce27a86640f80a8b21e06d9fb786146 to be 0.9.34-12

Note: See TracTickets for help on using tickets.