[Bug 688132] New: "rcntp start" hangs 6 minuest when using ipv6 only servers
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c0 Summary: "rcntp start" hangs 6 minuest when using ipv6 only servers Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sweet_f_a@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0 Hi, I'm using ntp with ipv6 only, i.e. in /etc/sysconfig/ntp I have NTPD_OPTIONS="-g -u ntp:ntp -6" on all my client and server machines. "rcntp start" tries to set initial time doing sntp -s ntpserver (where ntpserver is the first one it finds in ntp.conf) If ntpserver resolves to both A and AAAA when sntp obviously is using ipv4 first. That means: $ sntp -4 ipv6-only-server timeout, of course $ sntp -6 ipv6-only-server works correctly $ sntp ipv6-only-server timeout, but shouldn't! BTW ntpq and ntpdc are working correctly and using AAAA record first, for example: $ ntpq -p ipv6-only-server correct $ ntpdc -p ipv6-only-server correct Thus this seems to be a bug in upstream. One could say that if my ntpserver dns record resolves A and AAAA record, then it should listen to both ipv4 and ipv6 but it's still a bug in sntp and its not nice to specify NTPD_OPTIONS="-6" and then using ipv4 nevertheless and moreover as the first choice. BTW rcntp script has another bug: If I explicitly specify all my ntp servers in ntp.conf as ipv6 ones that way: server -6 server1 server -6 server2 .. then "rcntp ntptimeset" doesn't find any server for initialization: $ rcntp start Time could not be synchronized Starting network time protocol daemon (NTPD) cu, Rudi Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |varkoly@novell.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c1 --- Comment #1 from Ruediger Meier <sweet_f_a@gmx.de> 2011-04-20 23:48:06 UTC --- update the sntp bug is fixed already upstream: bitkeeper changeset 1.2464 see bk://ntp.bkbits.com/ntp-dev It's a big patch and probably not worth to port it back. I'll post a patch for the init script which solves the second bug I mentioned in my report. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c2 --- Comment #2 from Ruediger Meier <sweet_f_a@gmx.de> 2011-04-21 00:20:47 UTC --- I've fixed the init script, submit request 68020 against openSUSE:11.4:Update:Test: - fix/improve init script * related to bugzilla 688132 * "rcntp ntptimeset" could not parse servers from ntp.conf when IP proto was specified (server [-4|-6] hostname) * "rcntp ntptimeset" is now using ip proto parameter (-4|-6) if it's set in NTPD_OPTIONS and skip servers where the opposite proto is defined Note: The first fix is IMO a must because parsing ntp.conf was simply wrong. The second one is nice to have too. Since the bug doesn't seem to affect many users it could be rolled out together with a more important security patch. If somebody needs it, here the patch to my fixed ntp package: home:rudi_m:branches:openSUSE:11.4:Update/ntp cu, Rudi -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c3 Ruediger Meier <sweet_f_a@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #3 from Ruediger Meier <sweet_f_a@gmx.de> 2011-05-26 18:20:38 UTC --- Superseded by sr71541 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c4 --- Comment #4 from Marcus Meissner <meissner@novell.com> 2011-05-27 09:11:32 UTC --- is sensible I guess. +1 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c5 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|maintenance@opensuse.org | Resolution| |FIXED --- Comment #5 from Peter Varkoly <varkoly@novell.com> 2011-05-31 10:56:46 UTC --- fixed in osc://network:time/ntp -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-05-31 18:00:22 CEST --- This is an autogenerated message for OBS integration: This bug (688132) was mentioned in https://build.opensuse.org/request/show/72326 11.4 / ntp -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-05-31 19:00:13 CEST --- This is an autogenerated message for OBS integration: This bug (688132) was mentioned in https://build.opensuse.org/request/show/72330 11.4 / ntp -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@novell.com> 2011-06-01 12:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (688132) was mentioned in https://build.opensuse.org/request/show/72406 11.4 / ntp -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=688132 https://bugzilla.novell.com/show_bug.cgi?id=688132#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.4:41246 --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2011-06-14 12:13:42 UTC --- Update released for: ntp, ntp-debuginfo, ntp-debugsource, ntp-doc Products: openSUSE 11.4 (debug, i586, x86_64) -- 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.
participants (1)
-
bugzilla_noreply@novell.com