[Bug 894889] New: ntpd service start timeout
https://bugzilla.novell.com/show_bug.cgi?id=894889 https://bugzilla.novell.com/show_bug.cgi?id=894889#c0 Summary: ntpd service start timeout Classification: openSUSE Product: openSUSE Factory Version: 201408* Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: max@suse.com ReportedBy: schwab@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Starting the ntpd service times out if IPv6 connectivity is incomplete. The start-ntpd script hangs while calling sntp which waits forever for reply over IPv6. # getent ahosts ntp1 10.120.0.150 STREAM amor.suse.de 10.120.0.150 DGRAM 10.120.0.150 RAW 2620:113:80c0:8080:10:120:0:150 STREAM 2620:113:80c0:8080:10:120:0:150 DGRAM 2620:113:80c0:8080:10:120:0:150 RAW # ip -6 ad show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 inet6 fe80::202:f7ff:fe00:5891/64 scope link valid_lft forever preferred_lft forever # ip -6 ro 2620:113:80c0:8000::/64 dev eth0 proto kernel metric 256 expires 3229sec fe80::/64 dev eth0 proto kernel metric 256 default via fe80::1 dev eth0 proto ra metric 1024 expires 3229sec # sntp -s ntp1 3 Sep 17:26:02 sntp[14370]: Started sntp 2014-09-03 17:26:02.837738 (-0100) +0.000198 +/- 0.071121 secs [hangs here] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 --- Comment #2 from Andreas Schwab <schwab@suse.com> --- That's not the bug. The bug is that ntpd cannot cope. getaddrinfo correctly orders the IPv4 address first, so other services will work fine. Incomplete IPv6 connectivity is still very frequent. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(schwab@suse.com) --- Comment #3 from Reinhard Max <max@suse.com> --- (In reply to Andreas Schwab from comment #2)
That's not the bug. The bug is that ntpd cannot cope. getaddrinfo correctly orders the IPv4 address first, so other services will work fine.
Where can I log in to reproduce and debug this?
Incomplete IPv6 connectivity is still very frequent.
This is not incomplete IPv6 connectivity, it is a broken setup that I think MUST NOT happen this way. Even if there is a problem in sntp here, I think we're also looking at a bug somewhere either in the network code or in your network configuration. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(schwab@suse.com) | --- Comment #4 from Andreas Schwab <schwab@suse.com> --- This is a bog-standard dhcp setup. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@suse.com Flags| |needinfo?(mt@suse.com) --- Comment #5 from Reinhard Max <max@suse.com> --- Then we definitely have a problem in the network setup code on Factory. Marius, any ideas on how it could have happened that this machine has a route into the internal IPv6 network, but no according IPv6 address? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Reinhard Max <max@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Comment #9 is|1 |0 private| | --- Comment #10 from Reinhard Max <max@suse.com> --- Well, in this case an IPv6 default route exists, but no global address was assigned to the local interface. BTW, I am not even sure the hang was due to IPv6, because I see no evidence for that in comment 0 and I can't reproduce it on my 13.1 with the ntp package from Factory and after manually removing all global IPv6 addresses from eth0. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|201408* |201503* --- Comment #12 from Andreas Schwab <schwab@suse.com> --- ntp is still broken. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #13 from Andreas Schwab <schwab@suse.com> --- rcntpd start must not fail just because an ntp server is down. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Network |Network Version|201503* |13.2 Product|openSUSE Factory |openSUSE Distribution Target Milestone|--- |13.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 --- Comment #14 from Reinhard Max <max@suse.com> --- Please check if this is a duplicate of boo#894031, i.e. if rcntpd actually hangs on systemd-tty-ask-password-agent rather than on unreachable servers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 --- Comment #15 from Andreas Schwab <schwab@suse.com> --- It only fails due to sntp. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(schwab@suse.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894889 http://bugzilla.novell.com/show_bug.cgi?id=894889#c31 --- Comment #31 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (894889) was mentioned in https://build.opensuse.org/request/show/396591 13.2 / ntp -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com