Public bug reported:

Hello

Installed in a VM with only mongo running, the mongodb server service in
systemd does not wait for network.target for starting up. This makes
mongodb.service failing when the server restart, and when started by
hand (after the network is restarted) works.

Workaround:

add the line:
After=network.target

in /lib/systemd/system/mongodb.service under the section [Unit]

Impact: mongodb fails to start if server restarted.
Reproducibility: on VMs, mongodb standalone node.

** Affects: mongodb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693122

Title:
  mongodb starts before network on VM and standalone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1693122/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to