Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5969

Linux 'MountInfoTable' entries not sorted as expected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: None
    • Labels:
    • Sprint:
      Mesosphere Sprint 40
    • Story Points:
      3

      Description

      Many places in the codebase assume that the mountinfo table is sorted according to the order: parent mount point < child mount point.

      However, in some cases this may not be true if (for example), a parent mount point (say /) is remounted to add some extra flags to it. When this happens, the remounted file system will appear in the mount table at the point where it was remounted.

      We actually encountered this problem in the wild for the case of / being remounted after /run was mounted – causing problems in the NvidiaVolume which assumes the parent < child ordering.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                klueska Kevin Klues
                Reporter:
                klueska Kevin Klues
                Shepherd:
                Jie Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: