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

Mender command line installation should reject artifacts with state scripts by default

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Mender command line installation should reject artifacts with state scripts. The reason is that the effects of installing an artifact with state scripts are not reproducible when installing using the command line, because the scripts will not go through the same states. So I think we should reject such updates on the command line to be safe. If you need to use the command line you should use an artifact that doesn't have state scripts.

      Acceptance criteria after discussion:

      • -rootfs command line argument should by default reject artifacts with state scripts.
      • There should be a -f option to override the default and install the artifact anyway.
      • State scripts should not run if the artifact is installed from command line.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                oleorhagen Ole Petter Orhagen
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel