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

Mesos slave throws systemd errors even when passed a flag to disable systemd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2, 1.1.0
    • agent
    • None

    Description

      Seems like the code in slave/main.cpp is logically in the wrong order:
      #ifdef _linux_
      // Initialize systemd if it exists.
      if (systemd::exists() && flags.systemd_enable_support) {

      Lines 339-341: https://github.com/apache/mesos/blob/master/src/slave/main.cpp#L341

      The flags should come first before the systemd::exists() check runs.Currently the systemd.exists() always runs and there's no way to disable that check from running in mesos-slave.

      Attachments

        Activity

          People

            jieyu Jie Yu
            gena01 Gennady Feldman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: