Details
-
Type:
Task
-
Status: Done
-
Priority:
(None)
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Backlog:yes
Description
When the state script "version" file is missing or wrongly formatted, it is hard to figure out why the state scripts are not run. See the community list threads State scripts supported versions and statescript: supported versions does not match.
Acceptance criteria
- The version is correctly parsed if it is followed by a newline
- There is an error message if state scripts are used and the /etc/mender/scripts/version file is missing, explaining that it must be in place (and ideally what the latest supported version of this Mender client is)
- There is a separate error message if the version file exists but is parsed incorrectly, explaining that it needs to contain a single number (and ideally what the latest supported version of this Mender client is)
Attachments
Release management
Issue Links
- relates to
-
MEN-2301 Fix the parsing and the error message for the artifact-script-version file
-
- Rejected
-