Bug 251587

Summary: netwait on an ipv6 address at system startup does not work when rtsold needs to be started first in order to obtain an ipv6 address for the machine
Product: Base System Reporter: fbsddev
Component: confAssignee: freebsd-rc (Nobody) <rc>
Status: New ---    
Severity: Affects Many People Keywords: easy, ipv6
Priority: ---    
Version: 12.2-RELEASE   
Hardware: amd64   
OS: Any   

Description fbsddev 2020-12-04 21:51:50 UTC
I wanted to use netwait_enable in rc.conf in combination with an IPv6 netwait_ip.

In my home network rtsold needs to be started in order to obtain my local IPv6 address from my router.

Because netwait is started before rtsold by the rc scripts, the netwait on an IPv6 address will never be successful.

In my opinion the simple solution would be changing the order in the rc scripts and let rtsold run before trying the netwait.