[Bug 657194] New: ntp packages are out of date
https://bugzilla.novell.com/show_bug.cgi?id=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c0 Summary: ntp packages are out of date Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: awilliam@whitemice.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10 I'm working on setting up a Samba 4 AD domain on openSUSE and NTP 4.2.5 or later is required compiled with the --enable-ntp-signd option. <https://support.ntp.org/bugs/show_bug.cgi?id=1028> <http://lists.samba.org/archive/samba-technical/2010-November/074511.html> I've searched high and low and not been able to find anymore more recent than 4.2.4p8 and without the required options to server W32 time in an AD domain Reproducible: Always Steps to Reproduce: Create an AD domain using Samba4 Run "w32tm /resync /rediscover" on Windows 7 clients Actual Results: Clients cannot securely sync time with the DC Expected Results: Clients would discover secure clock source and establish syncronization. It is reported that current Ubuntu ships with an appropriate version of 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c1 Ismail Donmez <ismail@namtrac.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ismail@namtrac.org --- Comment #1 from Ismail Donmez <ismail@namtrac.org> 2010-12-02 19:11:37 UTC --- Can you try ntp package from http://download.opensuse.org/repositories/home:/namtrac/openSUSE_11.3/ repository? -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c2 Adam Williams <awilliam@whitemice.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |awilliam@whitemice.org --- Comment #2 from Adam Williams <awilliam@whitemice.org> 2010-12-02 19:50:55 UTC --- Installing this package on an up-to-date 11.3 fails with a dependency. samba:/tmp # rpm -Uvh ntp-4.2.6p2-38.1.i586.rpm warning: ntp-4.2.6p2-38.1.i586.rpm: Header V3 DSA/SHA1 Signature, key ID ed71407b: NOKEY error: Failed dependencies: libcap.so.2 is needed by ntp-4.2.6p2-38.1.i586 Does this repository depend on having another repository installed? -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c3 --- Comment #3 from Ismail Donmez <ismail@namtrac.org> 2010-12-02 19:57:11 UTC --- Its built against 11.3 system, it should be installable. Do you have libcap installed? -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c4 --- Comment #4 from Adam Williams <awilliam@whitemice.org> 2010-12-02 19:59:08 UTC --- Nermind, my bad; the package from your repo install. I just had to have the 32-bit version of libcap2. --- samba:/tmp # zypper in libcap2-32bit Loading repository data... Reading installed packages... Resolving package dependencies.. The following NEW package is going to be installed: libcap2-32bit 1 new package to install. Installing: libcap2-32bit-2.16-9.1 [done] samba:/tmp # rpm -Uvh ntp-4.2.6p2-38.1.i586.rpm warning: ntp-4.2.6p2-38.1.i586.rpm: Header V3 DSA/SHA1 Signature, key ID ed71407b: NOKEY Preparing... ########################################### [100%] 1:ntp ########################################### [100%] Updating etc/sysconfig/ntp... Updating etc/sysconfig/syslog... samba:/tmp # file /usr/sbin/ntpd /usr/sbin/ntpd: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped samba:/tmp # /usr/sbin/ntpd --version ntpd - NTP daemon program - Ver. 4.2.6p2 -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c5 --- Comment #5 from Ismail Donmez <ismail@namtrac.org> 2010-12-02 20:01:11 UTC --- Can you please check if it fixes your report, I don't have Samba4 installed so I can't check. thanks! -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c6 --- Comment #6 from Adam Williams <awilliam@whitemice.org> 2010-12-02 20:19:40 UTC --- Working on testing it. -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c7 --- Comment #7 from Adam Williams <awilliam@whitemice.org> 2010-12-03 16:18:29 UTC --- I do not know if it is a package issue but this NTP does not open the specified socket. ntpsigndsocket /opt/ad/samba4/var/run/ntp_signd/socket restrict default mssntp The socket exists and the samba daemon is listening but in neither debug output or strace do I see any attempt by NTP to open the socket. samba:~ # fuser -u /opt/ad/samba4/var/run/ntp_signd/socket /opt/ad/samba4/var/run/ntp_signd/socket: 3363(root) 3363 is samba; NTP is pid#8320 See also: http://lists.samba.org/archive/samba-technical/2010-December/075013.html http://bugs.ntp.org/show_bug.cgi?id=1028 http://bugs.ntp.org/show_bug.cgi?id=1247 I'll continue to test to make sure this isn't a configuration or site issue. -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c8 --- Comment #8 from Ismail Donmez <ismail@namtrac.org> 2010-12-03 20:33:03 UTC --- Are you modifying /etc/ntp.conf or /var/lib/ntp/etc/ntp.conf ? Looking at the package its checking for /etc/ntp.conf . -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c9 --- Comment #9 from Adam Williams <awilliam@whitemice.org> 2010-12-03 21:16:37 UTC --- Yes, editing /etc/ntp.conf. I verified this by putting bogus directives in /etc/ntp.conf and the service refused to start. -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c10 --- Comment #10 from Ismail Donmez <ismail@namtrac.org> 2010-12-07 08:29:09 UTC --- OK I read the ntpd code and correct config is: ntpsigndsocket /opt/ad/samba4/var/run/ntp_signd/ restrict default mssntp So you need to omit "socket" part. Please try like that. -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c11 --- Comment #11 from Ismail Donmez <ismail@namtrac.org> 2010-12-08 15:31:44 UTC --- Adam; can you recheck with the fixed config? Thanks! -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c12 --- Comment #12 from Adam Williams <awilliam@whitemice.org> 2010-12-08 17:10:47 UTC --- YES! It works. ntp-4.2.6p2-38.1.i586 [1] 4.0.0alpha14-GIT-03b078c openSUSE 11.3 The correct configuration is: ntpsigndsocket /opt/ad/samba4/var/run/ntp_signd/ restrict default mssntp With this package and configuration the command "w32m /resync /rediscover" on a Windows 7 workstation correctly establishes communication with the openSUSE [LINUX] Samba4/NTP time server. When running ntp without forking [strace ntpd -n] communication between the Samba4 server and the NTP daemon is visible - Samba4 opens the socket and listens while NTP only opens the socket momentarily to satisfy the singing request [so fuser -u {NTP SOCKET}] can be misleading. EXCHANGE: select(25, [16 17 18 19 20 21 22 23 24], NULL, NULL, {0, 0}) = 1 (in [21], left {0, 0}) recvmsg(21, {msg_name(-1734344)={...}, msg_iov(17832102453714092032)=0x14ffe5894c, msg_controllen=120259084288, msg_control=0x848, msg_flags=MSG_DONTROUTE|MSG_PROXY}, 0) = 68 recvmsg(21, 0xffe5891c, 0) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_REALTIME, {1291827449, 637483079}) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 connect(4, {sa_family=AF_FILE, path="/opt/ad/samba4/var/run/ntp_signd//socket"}, 110) = 0 write(4, "\0\0\0@", 4) = 4 write(4, "\0\0\0\0\0\0\0\0\1\0\0\0P\4\0\0\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0"..., 64) = 64 read(4, "\0\0\0P", 4) = 4 read(4, "\0\0\0\0\0\0\0\3\0\0\1\0\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0\320\2527c"..., 80) = 80 sendto(21, "\34\v\21\360\0\0\0\0\0\0002\337\177\177\1\0\320\2527c>\360\220\303\320\2527\201\3478 \330"..., 68, 0, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("10.66.77.102")}, 16) = 68 close(4) See Also: <http://lists.samba.org/archive/samba-technical/2010-December/075156.html> -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c13 --- Comment #13 from Ismail Donmez <ismail@namtrac.org> 2010-12-08 18:08:11 UTC --- Awesome, I'll send my ntp changes to Peter so this will work in 11.4. Thanks for testing! -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c14 --- Comment #14 from Ismail Donmez <ismail@namtrac.org> 2010-12-09 06:37:26 UTC --- Merge request filed: https://build.opensuse.org/request/show/55297 -- 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=657194 https://bugzilla.novell.com/show_bug.cgi?id=657194#c15 Ismail Donmez <ismail@namtrac.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #15 from Ismail Donmez <ismail@namtrac.org> 2011-01-04 09:11:06 UTC --- This is now fixed, thank you for your bugreport. -- 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