Details
Description
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
|
Attachments
Issue Links
- related to
-
SERVER-52806 deb install files assume systemd
-
- Closed
-