Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650830 - net-misc/ntpclient without IPv6 in the OS - ntpclient: Failed creating UDP socket() to SNTP server: Address family not supported by protocol
Summary: net-misc/ntpclient without IPv6 in the OS - ntpclient: Failed creating UDP so...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-18 21:30 UTC by Serguei I. Ivantsov
Modified: 2018-09-28 14:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serguei I. Ivantsov 2018-03-18 21:30:09 UTC
net-misc/ntpclient-2017.246

There are two bugs actually.
1. Command line syntax differs from 2010.365 (-h does not specify host). And this breaks many scripts.
2. Does not work on kernels without IPV6 : silently exists with the following line in SYSLOG
ntpclient[XXXXX]: Failed creating UDP socket() to SNTP server: Address family not supported by protocol
Comment 1 Wojciech Myrda 2018-06-26 08:06:13 UTC
New version of ntpclient has been released fixing this long standing bug with ipv6

https://github.com/troglobit/ntpclient/releases/2018_176


PS I was thinking why the hell my script specifies -h if it gives help information. Now it is no longer required.
Comment 2 Larry the Git Cow gentoo-dev 2018-09-28 14:11:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=644dcff9c0c33970f7e1ef5178cd8bf6d45f4a23

commit 644dcff9c0c33970f7e1ef5178cd8bf6d45f4a23
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-09-28 11:16:04 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2018-09-28 14:11:08 +0000

    net-misc/ntpclient: version bump to 2018.244.
    
    Closes: https://bugs.gentoo.org/650830
    Closes: https://bugs.gentoo.org/667218
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11
    Closes: https://github.com/gentoo/gentoo/pull/10000

 net-misc/ntpclient/Manifest                  |  1 +
 net-misc/ntpclient/metadata.xml              | 29 +++++++++++++++++++++++---
 net-misc/ntpclient/ntpclient-2018.244.ebuild | 31 ++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+), 3 deletions(-)