openwrt / openwrt/packages

nlbwmon: Fixed interval (every 1 day) always reset in UTC time and ignoring local timezone settings

Open
#20,185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @jow-
Environment: aarch64 - Openwrt 22.03.1 (zoneinfo-core & zoneinfo-asia package are installed)

Description: No matter what settings I set in, /etc/TZ, /etc/localtime, System->Timezone GUI, export TZ env variable. nlbwmon always reset its counter at 00:00 UTC. I also checked other statistical program that make use of local timezone and they work as expected in the same exact enviroment.

Expected: Follow local timezone setting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing nlbwmon's daily reset on the reported OpenWrt 22.03.1 aarch64 environment, checking /etc/TZ, /etc/localtime, and the TZ environment variable. Trace the nlbwmon package's reset-time handling and verify completion when the counter follows the configured local midnight rather than 00:00 UTC.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.