Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15869

[SERVER] Error with systemctl

      ORIGINAL TITLE: [SERVER] Investigate changes in SERVER-70121: Ubuntu 18 packaging tests shows error with systemctl

      Original Downstream Change Summary

      We need to ensure that our documentation reflects the following changes in this ticket:

      • fork and pidFilePath are removed from mongod.conf
      • PIDFile and type=forking are removed from mongod.service
      • Adding fork to mongod.conf is an incompatible change under systemd, since it will disrupt systemd's ability to track the service state. Unfortunately, we don't have a good programmatic way of checking this.
      • Requesting the service PID and state should be done via systemctl instead of PID files

        Description of Linked Ticket


      [2022/09/29 19:51:53.645] /var/lib/dpkg/info/mongodb-enterprise-unstable-server.postinst: 44: /var/lib/dpkg/info/mongodb-enterprise-unstable-server.postinst: systemctl: not found


      Probs just needs the systemd dependency

      This is probably happening for more than just this test and we should make sure it is fixed everywhere

            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            backlog-server-pm Backlog - Core Eng Program Management Team
            0 Vote for this issue
            3 Start watching this issue

              1 year, 24 weeks, 4 days ago