[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982950: ssh.service starts sshd before network is online: please switch to After=network-online.target instead of just After=network.target



* Thomas Goirand <zigo@debian.org> [210218 17:03]:
> On 2/18/21 12:59 PM, Timo Weingärtner wrote:
> > 17.02.21 21:42 Chris Hofstaedtler:
> >> Services that use After=network-online.target are generally broken,
> >> please do not introduce that.
> > 
> > Seconded. Just consider a node where one link is down on boot and you would 
> > have to wait such a long time until you can examine the problem via ssh.
> 
> I still don't understand this part. If network isn't online, how can I
> ssh to my server anyways?

Thats exactly the problem description: everyone and every service
has a different idea of "network is online".

I'm also happy with "fe80::x" IPv6 is ready - for ssh. Don't need to
wait for IPv4 DHCP or a default gateway or whatever.

Chris


Reply to: