Thursday, 13 May 2021

Re: Packaging policy discussion: After=network-online.target

On Thu, May 13, 2021 at 09:37:14AM -0300, Thadeu Lima de Souza Cascardo wrote:
> Maybe what needs to be provided here to avoid reimplementations is a better
> method to let services be more specific about what networks/addresses they care
> about. That is, if we care about not having to reimplement this logic
> everywhere.

In the last week I've seen four different conversations about how to
properly start a service only 'after the network is up', and the different
people had different ideas of what this meant for their service:

- one wanted LAN up and working, nothing fancy
- one wanted to wait until DNS resolution was working
- one wanted to wait until an ospf daemon had negotiated routing
tables and installed a default route
- one waited to wait until ntp had synced (not just started, but
actually synced)

I think there's a real need for something better.

Thanks