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

mender-convert ignores mender.conf from overlay

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      (First I tried to document this limitation in the Mender Docs, but I realized it just doesn't make sense and is better that we fix the issue).

      This was introduced on the time of Mender 3.0, in the context of MEN-4462.

      There are two issues:

      • configs/mender_convert_demo_config requires a config file in resources/mender.conf. This can be created with one of the three overlay scripts, but still is not clear why nor it is documented
      • Using configs/mender_convert_demo_config (together with a bootstrap script and hence a mender.conf file in resources/) will ignore any other mender.conf file in a user's overlay. Ideally I would expect the contents to be merged.

      The second one is the most important issue IMO, as this is the way we recommend in Mender Docs.

      Acceptance criteria:

      • bootstrap scripts generate their mender.conf in (overlay-dir)/etc/mender/mender.conf
      • enable_demo_configuration_in_file is run after applying the overlay(s).
      • explicitly log when overriding mender.conf parameters (namely: polling intervals)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lluis Lluís Campos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support