Any update? I'm still seeing failures to bind to an IPv6 address that
systemd-networkd has previously reported as being up. I can insert an
arbitrary 5 second pause as a workaround, but this should not be
necessary.

ubuntu@hawk:~$ journalctl -g 2603:af50:1630:aec9:f19a:227e:2f54:5c73 -b
Oct 10 13:34:05 hawk systemd-networkd[311]: ens5: DHCPv6 address 
2603:af50:1630:aec9:f19a:227e:2f54:5c73/128 (valid for 7min 29s, preferred for 
2min 19s)
Oct 10 13:34:05 hawk named[566]: listening on IPv6 interface ens5, 
2603:af50:1630:aec9:f19a:227e:2f54:5c73#53
Oct 10 13:34:06 hawk nginx[585]: nginx: [emerg] bind() to 
[2603:af50:1630:aec9:f19a:227e:2f54:5c73]:443 failed (99: Cannot assign 
requested address)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2081645

Title:
  (during boot) failed: Cannot assign requested address

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Not sure where to post this, but since systemd controls boot
  precedence this section seems appropriate.

  I am testing oracular / 24.10 , and I bind some services to specific
  IPv6 addresses. In order to wait until the IP addresses are up before
  binding to them during boot, I use systemd-networkd-wait-online,
  modified to wait for IPv6.

  The problem is, despite systemd-networkd reporting the IPv6 addresses
  are up, binding to them still fails when the daemons attempt to
  launch. If I manually start the daemons after boot, they launch fine.

  It would appear the system is reporting IPv6 addresses as available
  before they are ready to be bound to by applications, therefore
  causing those application to fail during boot.

  Log attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2081645/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to