early: fall-back to run ubus as root if user can't be found
authorDaniel Golle <daniel@makrotopia.org>
Fri, 4 Dec 2020 09:51:34 +0000 (09:51 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 4 Dec 2020 09:51:34 +0000 (09:51 +0000)
commit6acc48c7a2faac48c534b8a5516500c270550a9e
treecfb15c73feeebf3e8f54fb0889070d208e56fe57
parent09478ba23019ec5cbfc1068a7a632215c946b679
early: fall-back to run ubus as root if user can't be found

Users have been reporting problems in case the ubus user is missing in
/etc/passwd. Run ubus as root in that case and display warning.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
state.c