New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#1030 - ubus call network reload fails with unknown error #5980
Comments
mkresin: Works for me with Reboot (SNAPSHOT, r4960-1114f5d). r4235-61eb18d is from May 2017. You should really update to a recent version before reporting any bugs. If the issue persist after installing a recent snapshot, please reopen the ticket and provide the following informations:
|
val-kulkov: The same issue was also observed on the development shapshot build for the bcm53xx target. Sorry, I should have mentioned it in my original bug submission earlier today. The image I used for testing was downloaded on 2017-10-01 from: The downloaded image was installed with "sysupgrade -v -n ./lede-bcm53xx-buffalo-wxr-1900dhp-squashfs.trx". I made no configuration changes in any of the files in /etc/config/ after installing the downloaded image. I also tested this issue on my own LEDE build, LEDE Reboot SNAPSHOT r4967-5508510. The result was the same: "“Command failed: Unknown error". |
val-kulkov: See my comment of 01.10.2017 18:36. |
jow-: I can confirm the issue on the current x86_64 snapshot image.
|
val-kulkov: If a device has no wireless interfaces, the uci config for the wireless will fail and netifd's config_init_all() function will return -1: https://git.lede-project.org/?p=project/netifd.git;a=blob;f=config.c;h=a7112f042a677426ab27baff8b8131e0bb4e3d40;hb=HEAD#l424 The return value of -1 then propagates to netifd_reload(): and then to netifd_handle_reload() The suggested fix is to check for presence of /etc/config/wireless and return -1 only if the file is present. |
deepakpradhan5: Hi, I am also facing the same issue with ubus. ###iotGateway### ubus call network reload The below are my LEDE info: Can anyone put light on this issue? |
mkresin: Update to the latest source! You are using r4795, which should be from somewhat around Wed, 6 Sep 2017 14:46:03 +0100. This fix was committed on Fri, 6 Oct 2017 16:31:21 +0100 to netifd and netifd was updated in LEDE on Thu, 27 Oct 2016 11:45:05 +0100. |
val-kulkov:
"ubus call network reload" fails with "Command failed: Unknown error" on LEDE Reboot SNAPSHOT r4235-61eb18d. The same error message appears with:
"service network reload"
"/etc/init.d/network reload"
This issue is not present in LEDE Rebooot 17.01.2 r3435-65eec8bd5f.
The text was updated successfully, but these errors were encountered: