Skip to content

ddns-scripts: switch to procd handling#28777

Open
feckert wants to merge 1 commit intoopenwrt:masterfrom
TDT-AG:pr/20260313-ddns-scripts
Open

ddns-scripts: switch to procd handling#28777
feckert wants to merge 1 commit intoopenwrt:masterfrom
TDT-AG:pr/20260313-ddns-scripts

Conversation

@feckert
Copy link
Member

@feckert feckert commented Mar 13, 2026

This commit changes the ddns-scripts handling to use procd service.

📦 Package Details

Maintainer: me

Description:
The 'ddns-scripts' still uses not the procd service handling. This commit changes this.

In the LuCI, the dynamic_dns_updater is still being called via the helper function. This also needs to be refactored before merge. Otherwise, LuCI will stop working.

Should Fixes: #28722


🧪 Run Testing Details

  • OpenWrt Version: master
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@luizluca
Copy link
Contributor

Before in 25.12:

# apk add ddns-scripts
# uci set ddns.myddns_ipv4.enabled='1'
# uci set ddns.myddns_ipv6.enabled='1'
# uci commit
# apk del ddns-scripts
root@OpenWrt:~# apk add ddns-scripts
(1/4) Installing ddns-scripts-services (2.8.2-r90)
  Executing ddns-scripts-services-2.8.2-r90.post-install
(2/4) Installing ip-tiny (6.18.0-r2)
  Executing ip-tiny-6.18.0-r2.post-install
  * add alternative: /sbin/ip -> /usr/libexec/ip-tiny
(3/4) Installing resolveip (2)
  Executing resolveip-2.post-install
(4/4) Installing ddns-scripts (2.8.2-r90)
  Installing file to etc/config/ddns.apk-new
  Executing ddns-scripts-2.8.2-r90.post-install
 85% ############################################# (<<<hangs!)                                

If you ctrl+c now, it leaves artifacts. You can continue the installation with /etc/init.d/ddns stop.

With this PR:

root@OpenWrt:~# apk add --allow-untrusted ./ddns-scripts-services-2.8.2-r90.apk ./ddns-scripts-2.8.2-r90.apk 
(1/4) Installing ddns-scripts-services (2.8.2-r90)
  Executing ddns-scripts-services-2.8.2-r90.post-install
(2/4) Installing ip-tiny (6.18.0-r2)
  Executing ip-tiny-6.18.0-r2.post-install
  * add alternative: /sbin/ip -> /usr/libexec/ip-tiny
(3/4) Installing resolveip (2)
  Executing resolveip-2.post-install
(4/4) Installing ddns-scripts (2.8.2-r90)
  Installing file to etc/config/ddns.apk-new
  Executing ddns-scripts-2.8.2-r90.post-install
OK: 20.9 MiB in 187 packages

Now it installs nicely. And "/etc/init.d/ddns stop" does kill all sessions, including those that were disabled after the service has started.

I didn't notice anything broken, both in a x86_64 VM and in a BpiR3. Thanks.

Tested-by: Luiz Angelo Daros de Luca luizluca@gmail.com

The 'ddns-scripts' still uses not the procd service handling. This commit
changes this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Tested-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
@feckert feckert force-pushed the pr/20260313-ddns-scripts branch from 29f8598 to 4149110 Compare March 16, 2026 06:43
@feckert feckert marked this pull request as ready for review March 16, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ddns-scripts: apk hangs during installation

2 participants