The different between the two images is enable a crontab job at start up - @reboot java -jar xxx.jar
. The jar program execute the system command “e.g. ping” and keep printing text to a file at /data. From the log of the jar, the jar is killed by reboot after execute the “ping”. It seems my java program causes a reboot in new partition, turns the “upgrade_available” from 1 to 0 and causes a rollback. I will review the java program further.
In addition, I would like to know is there any reminders about using a program to manage the network connection of system in cooperate with the mender ?
Thank you for your kind assistance.