[PATCH v2] ufpd: import unetmsg.client conditionally

John Crispin john at phrozen.org
Thu Dec 4 03:46:23 PST 2025



On 04.12.25 12:12, ck at dev.tdt.de wrote:
> 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


what I meant is create a /usr/share/ucode/unetmsg/client.uc file that does

export function publish() {};
export function subscribe() {};
......

and then add that to your 23.05 builds

     John





More information about the openwrt-devel mailing list