Help: No reboot after rollback with custom update module (NeedsArtifactReboot="Yes")

mbz
Mon, 12 Jul 2021 14:34:12 +0000
General Discussions

A custom update module supporting rollback and reboot for .deb packages does not reboot after rollback

A mender artifact containing some .deb packages could be installed succesfully. The reboot takes place and mender-client continues according to the state machine

An other mender artifact, containing a deb file, which always fails to install (for testing the rollback, returning -1 on postinst script) the rollback takes place as expected, but the reboot does not.
The statemachine switches directly to ArtifactFailure. (NeedsArtifactReboot=“Automatic” or “Yes”)

Logging the calls to the update module with its parameters shows, that in this case the module never gets called with the parameter NeedsArtifactReboot

5 posts - 2 participants

Read full topic