-
-
Notifications
You must be signed in to change notification settings - Fork 70
Description
I had a working version of Homebrew until I decided to upgrade to 05.50 system software, now webOS 4.4.2 (from 05.40).
The initial symptoms after upgrading are that SSH server is not working, Telnet is not working and also PicCap doesn't auto-start - but I still have elevated privileges.
After some debugging, it looks like that the autostart service registered by Homebrew is not being called; hence no startup.sh called.
I built a companion app that tries to call the autostart service via LunaBus; once installed, you can see that the first call to the autostart services fails because of a LunaBus error - but trying again it works.
Our assumption is that probably the service doesn't get registered in time or there are some overloads of the LunaBus at startup.
The error we get from LunaBus is this: https://github.com/webosose/luna-service2/blob/master/src/libluna-service2/transport.c#L239
Most likely, this new method of using previewMetadata in the appinfo.json doesn't work on webOS 4+, and the startup method was working in the previous firmware because of the presence of /etc/wam/plugins/conf.sh that called our script in the $EXTRA_CONF path:
EXTRA_CONF=/mnt/lg/cmn_data/wam/extra_conf.sh
if test -f $EXTRA_CONF; then
source $EXTRA_CONF;
fiThat has now been removed from the 4.4 firmware.
