system broken

e9hack e9hack at gmail.com
Thu Oct 22 11:43:05 EDT 2020


Hi,

I did check again, at which commit the issue starts

Last working version: 
commit: d355b578b7cc95c5b07fcecb217dbac4c05bd49c
target: include selinux-variants if CONFIG_SELINUX is set

First not working version:
commit: 2dffadece9a7243a236ce7d91719787a671e23d4
ubus: prepare to run ubusd as non-root user

All further versions have the same issue:
commit: a2def3663a0feff12550906c33f9ecc3e5fb2a5d
procd: jail: clean up capability handling and non-root ubusd

commit: 6a56a6eb30799fcec9eecc3ee860dc4d8a5d952a
target: select procd-{ujail,seccomp} if !SMALL_FLASH

commit: 2812ea3acb88c7e3649c912d6ad761bf8818fc51
Revert "target: select procd-{ujail,seccomp} if !SMALL_FLASH"

It occurs on two tp-link router, one is a Archer C7, the other one is a wdr3600 with flash extended to 16MB. Both are ath79 based. 

It may exist another issue. It looks like that it isn't possible to add the user/group ubus with an update image.

Regards,
Hartmut

Am 22.10.2020 um 10:15 schrieb e9hack:
> Hi,
> 
> after commit 
> 
> a2def3663a0feff12550906c33f9ecc3e5fb2a5d
> procd: jail: clean up capability handling and non-root ubusd
> 
> system doesn't work properly. After sysupgrade, system does not restart completely and hangs somewhere in the boot process. I've to do a hard reset. After this, system does boot, but password is reset to no password. I don't know if other settings are reset too. ubusd is not started. uhttpd fails to start, because ubus socket isn't available. If I apply a previously saved backup with 'sysupgrade -r ...' and force a reboot, system starts, but tries to initialize a ext rootfs, which doesn't exist, and hangs in the boot process. At this point, I've to do a recovery via uboot. My router is a tp-link Archer C7.
> 
> Regards,
> Hartmut
> 




More information about the openwrt-devel mailing list