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

Mender's automatic filesystem repair bricks boot partition created by Mender

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0, 2.7.0, 2.6.1
    • Labels:
    • Days in progress:
      3

      Description

      The combination of all 3 renders devices unbootable once dosfsck is used on the boot partition created by an affected mtools version (= created by Yocto Warrior and earlier).
      This is also a problem for newer Yocto releases, because the boot partition stays unchanged when upgrading a Warrior device to Zeus or Dunfell.
      This problem is especially crucial considering that Mender reenabled automatic filesystem repairs in Zeus and Dunfell during boot: https://github.com/mendersoftware/meta-mender/commit/0552891c504ecacb0d99f4618694c03f5bc08f83

      The fixed dosfstools 4.2 version is not even a month old, so it's currently not part of any Yocto version.
      I've submitted a patch to upgrade dosfstools in Yocto master: https://lists.openembedded.org/g/openembedded-core/topic/patch_dosfstools_upgrade/80928608
      However, it's questionable whether that patch will be backported to any Yocto release.

      As this could potentially brick a lot of production devices, I hope that Mender can either ship the fixed dosfstools version itself via meta-mender or otherwise ensure that the fixed version 4.2 is part of the build.

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              ColinFinck Colin Finck
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support