Comment 7 for bug 1693122

Revision history for this message
Robie Basak (racb) wrote :

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.