Hi, after the update of hostapd from today, I see some exceptions at start of hostapd:
Thu Jun 6 21:06:43 2024 daemon.notice hostapd: Exception in ubus function: left-hand side is not a function In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50: called from anonymous function (/usr/share/hostap/hostapd.uc:718:22) ` hostapd.data.auth_obj.notify("reload", { phy });` Near here ------------------------------------------------^ Thu Jun 6 21:06:43 2024 daemon.notice netifd: radio1 (12927): Command failed: ubus call hostapd config_set { "phy": "phy1", "config": "", "prev_config": "/var/run/hostapd-phy1.conf" } (Unknown error) Thu Jun 6 21:06:44 2024 daemon.notice hostapd: Exception in ubus function: { "type": "Type error", "message": "left-hand side is not a function", "stacktrace": [ { "filename": "/usr/share/hostap/hostapd.uc", "line": 837, "byte": 50, "function": "[anonymous function]", "context": "In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50:\n called from anonymous function (/usr/share/hostap/hostapd.uc:718:22)\n\n ` hostapd.data.auth_obj.notify(\"reload\", { phy });`\n Near here ------------------------------------------------^\n" }, { "filename": "/usr/share/hostap/hostapd.uc", "line": 718, "byte": 22 } ] } In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50: called from anonymous function (/usr/share/hostap/hostapd.uc:718:22) ` hostapd.data.auth_obj.notify("reload", { phy });` Near here ------------------------------------------------^ Thu Jun 6 21:06:44 2024 daemon.notice netifd: radio0 (12926): Command failed: ubus call hostapd config_set { "phy": "phy0", "config": "", "prev_config": "/var/run/hostapd-phy0.conf" } (Unknown error) Thu Jun 6 21:06:48 2024 daemon.notice hostapd: Exception in ubus function: { "type": "Type error", "message": "left-hand side is not a function", "stacktrace": [ { "filename": "/usr/share/hostap/hostapd.uc", "line": 837, "byte": 50, "function": "[anonymous function]", "context": "In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50:\n called from anonymous function (/usr/share/hostap/hostapd.uc:718:22)\n\n ` hostapd.data.auth_obj.notify(\"reload\", { phy });`\n Near here ------------------------------------------------^\n" }, { "filename": "/usr/share/hostap/hostapd.uc", "line": 718, "byte": 22 } ] } In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50: called from anonymous function (/usr/share/hostap/hostapd.uc:718:22) ` hostapd.data.auth_obj.notify("reload", { phy });` Near here ------------------------------------------------^ Thu Jun 6 21:06:48 2024 daemon.notice netifd: radio1 (12927): Command failed: ubus call hostapd config_set { "phy": "phy1", "config":"/var/run/hostapd-phy1.conf", "prev_config": "/var/run/hostapd-phy1.conf.prev"} (Unknown error) Thu Jun 6 21:06:56 2024 daemon.notice hostapd: Exception in ubus function: { "type": "Type error", "message": "left-hand side is not a function", "stacktrace": [ { "filename": "/usr/share/hostap/hostapd.uc", "line": 837, "byte": 50, "function": "[anonymous function]", "context": "In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50:\n called from anonymous function (/usr/share/hostap/hostapd.uc:718:22)\n\n ` hostapd.data.auth_obj.notify(\"reload\", { phy });`\n Near here ------------------------------------------------^\n" }, { "filename": "/usr/share/hostap/hostapd.uc", "line": 718, "byte": 22 } ] } In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 837, byte 50: called from anonymous function (/usr/share/hostap/hostapd.uc:718:22) ` hostapd.data.auth_obj.notify("reload", { phy });` Near here ------------------------------------------------^ Thu Jun 6 21:06:56 2024 daemon.notice netifd: radio0 (12926): Command failed: ubus call hostapd config_set { "phy": "phy0", "config":"/var/run/hostapd-phy0.conf", "prev_config": "/var/run/hostapd-phy0.conf.prev"} (Unknown error) The line numbers in hostapd.uc have an offset by 1. I added an entry to the array hostapd.data.file_fields. Regards, Hartmut _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel