[OpenWrt-Devel] ubus and/or libubox upgrades today cause problems: some services do not start, logread hangs

Hannu Nyman hannu.nyman at iki.fi
Fri Dec 27 04:33:46 EST 2019


Petr Štetiar kirjoitti 27.12.2019 klo 0.59:
> Hannu Nyman <hannu.nyman at welho.com> [2019-12-26 22:37:31]:
>
> Hi,
>
>> I noticed today problems with new master builds, both with ipq806x/R7800 and
>> ar71xx/WNDR3700:
>>
>> * Some services do not start and their processes are not visible in the
>> process list. Examples: collectd and nlbwmon
>> * logread command always hangs. Both from SSH console and luci
> sorry for the breakage.
>
>> I reverted both ubus and libubox changes and the services start again
>> (nlbwmon, collectd), and also logread works ;-)
> I've just looked at the logread issue and I've tracked it down to the following
> commit[1]:
>
>   commit 5d7ca8309d0a1614d829df9ecd72553bcd6b5ec6
>   Author:     Petr Štetiar <ynezz at true.cz>
>
>      ubusd/libubus-io: fix variable sized struct position warning
>      
>      Fixes following clang-9 compiler warnings:
>      
>       ubusd.c:99:18: error: field 'h' with variable sized type 'struct cmsghdr' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
>                      struct cmsghdr h;
>                                     ^
>
> I'll try to fix that tomorrow.


Hopefully you/somebody will revert the ubus changes in master until then.

ubus is so central to OpenWrt that silent breakage in its core functionality 
will cause lots of sneakily broken builds.


>
> 1. https://git.openwrt.org/5d7ca8309d0a1614d829df9ecd72553bcd6b5ec6
>
> -- ynezz



_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list