[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
[Expired for ntp (Ubuntu) because there has been no activity for 60 days.] ** Changed in: ntp (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: Expired Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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
[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
Thanks a lot Simon for your thoughts - this is exactly what I was looking for. "On a hypervisor, binding on link local IPs is undesirable IMHO" Thats what I thought as well But - if there is valid use of link locals in general - as I was unsure of and you as well suggest there might be folks doing that; then we do not want to ignore them by default. TL;DR we better have it working for all and have those "undesired" disabling it instead of not working by default in some environments. If more people chime in we can make an overall summary and either reopen or keep as is. For now this stays incomplete. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: Incomplete Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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
[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
On a hypervisor, binding on link local IPs is undesirable IMHO and that's why I always added a similar ignore to the one you proposed. That said, NTP works well over link local addresses so some folks are probably using it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: Incomplete Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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
[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
Ok I debugged more and it seems that the situation where i was unable to bind is the special one. I usually got this now: Dec 13 15:24:31 bionic-test-kvm ntpd[6142]: Listen normally on 8 vnet0 [fe80::fc54:ff:fe46:80ed%10]:123 Dec 13 15:24:31 bionic-test-kvm ntpd[6142]: new interface(s) found: waking up resolver If that is the usual case I'm fine and close this bug for now. Please note that 1727202 needs to be fixed to actually see the message. ** Changed in: ntp (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: Incomplete Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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
[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
Reading more into [1] and [2] I'm not 100% if ntp just has an issue or if in general we should mask this interface type like: interface ignore fe80::/64 [1]: https://www.eecis.udel.edu/~mills/ntp/html/miscopt.html#interface [2]: https://www.cisco.com/c/en/us/support/docs/ip/ip-version-6-ipv6/113328-ipv6-lla.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: Incomplete Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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
[Touch-packages] [Bug 1737998] Re: trying to bind on all interfaces is a good default, but fails on ipv6 link local
This looks promising https://www.eecis.udel.edu/~mills/ntp/html/miscopt.html#interface -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1737998 Title: trying to bind on all interfaces is a good default, but fails on ipv6 link local Status in ntp package in Ubuntu: New Bug description: The default is "grab all" which is great for convenience and can be configured to be differently by argument -I (interface) or interface commands in the config. Currently it is "too" open on that. I see it trying to bing link local addresses for each of the KVM guests I spawn. They get virtual network devices and due to that ntp sees it tries to bind and fails. Dez 13 11:35:41 seidel ntpd[35826]: bind(31) AF_INET6 fe80::fc54:ff:fec3:3eb0%47#123 flags 0x11 failed: Cannot assign requested address Dez 13 11:35:41 seidel ntpd[35826]: unable to create socket on vnet0 (27) for fe80::fc54:ff:fec3:3eb0%47#123 Dez 13 11:35:41 seidel ntpd[35826]: failed to init interface for address fe80::fc54:ff:fec3:3eb0%47 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1737998/+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