SERVER-52806 broke the installation on Docker images which have systemd installed without the daemon running, which is the case on the official mongo Docker image. That's why an upgrade or installation fails completely. Older versions likeĀ 3.6.21 can be installed without a problem.
The problem lies in the postinstall script which assumes that if the systemctl binary is present the daemon must be running:
# Check for changes to the service file if $(command systemctl --help >/dev/null); then systemctl daemon-reload fi
The result is the error
Failed to connect to bus: No such file or directory
- related to
-
SERVER-52806 deb install files assume systemd
- Closed