Skip to content

Conversation

@feckert
Copy link
Member

@feckert feckert commented Feb 3, 2026

📦 Package Details

Maintainer: @me
Description:
Fixes: #28377
For reasons that have not been investigated in detail, the package blocks during 'postinst' with the new 'apk' backend when the package is installed on the target. Deleting this script call '/etc/init.d/ddns start' in postinst solves the problem for apk. This was not observed in the OPKG backend.

Unfortunately, I do not know what side effect this change will have. I never install the package afterwards.


🧪 Run Testing Details

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

✅ Formalities

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

For reasons that have not been investigated in detail, the package blocks
during 'postinst' with the new 'apk' backend when the package is installed
on the target. Deleting this script call '/etc/init.d/ddns start' in postinst
solves the problem for apk. This was not observed in the OPKG backend.

Unfortunately, I do not know what side effect this change will have.
I never install the package afterwards.

Signed-off-by: Florian Eckert <[email protected]>
@GeorgeSapkin
Copy link
Member

Isn't enabling and starting all services the default behavior? Why is that code even there?

@feckert
Copy link
Member Author

feckert commented Feb 3, 2026

You're right. But that's always been the case with this package.
I suspect it's because it doesn't use PROCD yet?
My suggestion was to remove everything, but @languagegame said it would be enough to just remove the start for him.

I'm not installing the package. I have my own images and therefore don't want to deal with it in detail right now,
As it concerns openwrt-25.12 and I would like to have the issue fixed so that the user doesn't have any problems.

@@ -431,7 +431,6 @@ define Package/ddns-scripts/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
/etc/init.d/ddns enabled

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enabled doesn’t really do anything here, compared to enable.

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 add ddns-scripts hangs on sysupgrade on 25.12.0_rc2 at postinstall script

3 participants