We've seen this pattern being requested in many packages: normally a network service dependency isn't needed because a service by default doesn't bind to a specific address. If a user configures a service to bind on a specific address, then often they also need to add the network dependency locally. Otherwise the service will start before the network interface is brought up and fail.
Policy discussion: https://lists.ubuntu.com/archives/ubuntu- devel/2021-May/041455.html Other affected services: https://bugs.launchpad.net/ubuntu/+bugs?field.tag=network-online- ordering However, in the case of mongodb, Ubuntu no longer ships mongodb in its latest releases, so there is no further action that can be taken on this bug specifically. For the Ubuntu development release, I'm therefore setting this bug to Won't Fix. It seems unlikely to me that we'd make a change to an existing stable release to add the service dependency, but that path remains potentially open. Note though that a workaround is trivially available by overriding the service configuration locally. ** Tags added: network-online-ordering ** Changed in: mongodb (Ubuntu) Status: Triaged => Won't Fix -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs