[Bug 284863] ntpd throws "Address already in use" error with shared IP on multiple interfaces after upgrade from 14.1 to 14.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Feb 2025 16:45:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284863

--- Comment #2 from Leif Pedersen <leif@ofWilsonCreek.com> ---
You bet.

I reverted to the previous configuration (without "--interface=ena0"), to show
that ntpd will not start, and the output from both is empty, of course.
```
$ sockstat -4 -p 123
USER     COMMAND    PID   FD  PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
$ netstat -an | grep 123
```

After adding "--interface=ena0" back to ntpd_flags, `service start ntpd` is
successful, and then here is the output:
```
$ sockstat -4 -p 123
USER     COMMAND    PID   FD  PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     ntpd        5200 21  udp4   *:123                 *:*
root     ntpd        5200 23  udp4   10.96.16.8:123        *:*
root     ntpd        5200 25  udp4   127.0.0.1:123         *:*
$ netstat -an | grep 123
udp4       0      0 127.0.0.1.123          *.*
udp6       0      0 ::1.123                *.*
udp4       0      0 10.96.16.8.123         *.*
udp6       0      0 fe80::c07:6eff:f.123   *.*
udp4       0      0 *.123                  *.*
udp6       0      0 *.123                  *.*
```

-- 
You are receiving this mail because:
You are the assignee for the bug.