[PATCH v2] ufpd: import unetmsg.client conditionally

ck at dev.tdt.de ck at dev.tdt.de
Thu Dec 4 03:12:42 PST 2025


Am 2025-12-04 06:52, schrieb John Crispin:
> can't you just drop a dummy stubbed out version into
> /usr/share/uconfig/unetmsg/client.uc on 23.05 builds ?
> 
>     John

It is the daemon that is causing the problem.
This results in crashing the unetmsg service on these builds.

In /usr/sbin/unetmsgd:

Lines 21 uses SYSTEM_OBJECT_ACL.

function update_acl() {
	let data = ubus.call(libubus.SYSTEM_OBJECT_ACL, "query");
	core.acl_set(data.acl);
}

That came with commit 8e122f1 
(https://github.com/jow-/ucode/commit/8e122f16327c59b178468c7aa53a36e31ced970c)
into ucode and that into openwrt-24.10.

ufp also works without unetmsg installed, at least for my use case, so i 
forged my patch that way.
What are your concerns if we leave unetmsg out of ufp?

Thanks in advance!

Christian



More information about the openwrt-devel mailing list