Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1353

A device that reboots during the ArtifactInstall_Leave state does not properly rollback

    XMLWordPrintable

    Details

      Description

      This was reported by a user:

      If the device reboots during the ArtifactInstall_Leave state, the following thing happens

      • The device will reboot into the new partition (which makes sense, since the Uboot setting was just set)
      • Mender considers the update failed and does not commit it
      • Mender does not reboot the device to rollback. Instead, it enters idle state.

      The result is that the device will run in the new partition until the next time it reboots, at which point it will be rolled back by Uboot to the original partition. I feel that in this scenario Mender should either commit the update or roll it back immediately.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10053 Marcin Pasinski
                Reporter:
                drewmoseley Drew Moseley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel