HI,
I have a random issue as follows.
ubus call uci commit '{"config":"network"}' is not reloading the network. where as "ubus call network reload" is working perfectly.
ubus monitor shows
- config.change event is received by procd and the procd braodcasted the same
root@xxxx:/# ubus call uci commit '{"config":"network"}'
-> 71b95a84 #71b95a84 hello: {}
<- 71b95a84 #00000000 lookup: {"objpath":"uci"}
-> 71b95a84 #00000000 data: {"objpath":"uci","objid":-532061543,"objtype":227694426,"signature":{"configs":{},"get":{"config":3,"section":3,"option":3,"type":3,"match":2,"ubus_rpc_session":3},"state":{"config":3,"section":3,"option":3,"type":3,"match":2,"ubus_rpc_session":3},"add":{"config":3,"type":3,"name":3,"values":2,"ubus_rpc_session":3},"set":{"config":3,"section":3,"type":3,"match":2,"values":2,"ubus_rpc_session":3},"delete":{"config":3,"section":3,"type":3,"match":2,"option":3,"options":1,"ubus_rpc_session":3},"rename":{"config":3,"section":3,"option":3,"name":3,"ubus_rpc_session":3},"order":{"config":3,"sections":1,"ubus_rpc_session":3},"changes":{"config":3,"ubus_rpc_session":3},"revert":{"config":3,"ubus_rpc_session":3},"commit":{"config":3,"ubus_rpc_session":3},"apply":{"rollback":7,"timeout":5,"ubus_rpc_session":3},"confirm":{"ubus_rpc_session":3},"rollback":{"ubus_rpc_session":3},"reload_config":{},"backup_restore":{"value":7}}}
-> 71b95a84 #00000000 status: {"status":0}
<- 71b95a84 #e0496299 invoke: {"objid":-532061543,"method":"commit","data":{"config":"network"}}
-> 81d840fd #71b95a84 invoke: {"objid":-532061543,"method":"commit","data":{"config":"network"},"user":"root","group":"root"}
<- 81d840fd #00000000 lookup: {"objpath":"service"}
-> 81d840fd #00000000 data: {"objpath":"service","objid":-619821689,"objtype":-47218302,"signature":{"event":{"type":3,"data":2}}}
-> 81d840fd #00000000 status: {"status":0}
########### service_handle_event:556 -- event received ##############
########### service_handle_event:577 -- Config.change event received for network ##############
<- 81d840fd #608c8479 invoke: {"objid":-619821689,"method":"event","data":{"type":"config.change","data":{"package":"network"}}}
-> 6f05c0c9 #81d840fd invoke: {"objid":-619821689,"method":"event","data":{"type":"config.change","data":{"package":"network"}},"user":"rpcd","group":"rpcd"}
<- 6f05c0c9 #608c8479 notify: {"objid":-619821689,"method":"config.change","data":{"config":"network"},"no_reply":true}
<- 6f05c0c9 #81d840fd status: {"status":0,"objid":-619821689}
-> 81d840fd #608c8479 status: {"status":0,"objid":-619821689}
<- 81d840fd #71b95a84 status: {"status":0,"objid":-532061543}
-> 71b95a84 #e0496299 status: {"status":0,"objid":-532061543}
After this "/etc/init.d/network reload" is expected from procd triggers which was not happened. And it is random in nature. I am in 19.07.2 release.
ubus call service list for network does not have any issues, all the triggers are fine.
Any clue? how can it be debugged.
please help.