openwrt / openwrt/packages

Disabling and stopping vnstat does not disable and stop vnstat

Open
#14,547 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

Package: vnstat
Version: 1.18-2
Maintainer: Jo-Philipp Wich
Environment: 19.07.6 r11278-8055e38794

Description:

Doing a "/etc/init.d/vnstat disable ; /etc/init.d/vnstat stop" fails to stop and disable vnstat. procd just restarts it again as evidenced by logread.

Note that procd does this silently, without any message having been logged, which is unhelpful. vnstat itself logs a message that it has been started again.

The user Wiki is unhelpful on this matter:
https://openwrt.org/docs/guide-user/services/network_monitoring/vnstat

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

Reproduce the issue with /etc/init.d/vnstat disable ; /etc/init.d/vnstat stop and inspect the vnstat init entry point together with the procd behavior described in the report. Done means vnstat remains stopped and disabled afterward, and the relevant restart behavior is no longer silent.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.