openwrt / openwrt/packages

ddns-scripts: error message during installation with configuration

Open
#22,070 2 comments 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: @maxberger
Environment: OpenWrt 23.05-rc3

Description:

If you install the package with a configuration already in place (after an upgrade), it looks like the scripts tries to do something (restart?) that generates these errors:

cat: can't open '/var/run/ddns/afraidv4.dat': No such file or directory
cat: can't open '/var/run/ddns/nowdnsv4.dat': No such file or directory
cat: can't open '/var/run/ddns/afraidv6.dat': No such file or directory

It might be harmless but it should be fixed.

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 installation of ddns-scripts on OpenWrt 23.05-rc3 with an existing configuration, watching the package installation hooks and accesses to /var/run/ddns/*.dat. Trace why the afraidv4.dat, nowdnsv4.dat, and afraidv6.dat files are read before they exist; done means the upgrade installation completes without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
networking
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.