[Bug 732882] New: NTP server is not set up from DHCP
https://bugzilla.novell.com/show_bug.cgi?id=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c0 Summary: NTP server is not set up from DHCP Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mgyhardsoft@freestart.hu QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=464180) --> (http://bugzilla.novell.com/attachment.cgi?id=464180) YaST2 logs User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 When the installation goes on and the system arrives to the NTP settings and it has already configured DHCP and DHCP contains the NTP record _then_ the install routine should configure NTP according to it. Reproducible: Always Steps to Reproduce: 1. Enter an NTP record into your DHCP server. 2. Start to install openSUSE 12.1 3. When the install arrives to the NTP setup, verify the proposed NTP server. Actual Results: Some generic servers appear (xx.pool.ntp.org) Expected Results: The NTP server is set up in DHCP should be automatically used. -- 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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |varkoly@suse.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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c1 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #1 from Peter Varkoly <varkoly@suse.com> 2012-07-24 09:15:31 UTC --- You have rigth, ntp should use the dhcp-server provided by dhcp. But this not a good idea to setup ntp with a ntp-server which will be provided by a dhcp server. Since openSUSE 11.4 we use netconfig. This makes it possible to add a running ntpd process runtime ntp server. This works if * ntpd is configured and running * NETCONFIG_NTP_POLICY is set to "auto" in /etc/sysconfig/network/config -- 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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c2 Mészáros Gyula <mgyhardsoft@freestart.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #2 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2012-07-25 06:12:24 UTC --- I've just installed 12.1 again just to verify what the problem is. See, maybe I missed some lessons in the topic, but I don't see why it is not good to use a DHCP-preconfigured NTP server. Why is it better to set it up _during the installation_ each and every time by hand? What is more, why should I wait one and a half minutes (!) while YaST recognises that it is not possible to synchronise to that NTP server and why it still uses the useless server? And YaST does this despite the fact that it gets among an IP address, a gateway and two name servers also an NTP server from the DHCP. I appreciate that there is netconfig and it works great, but what I am talking about is the _installation_. -- 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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c3 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #3 from Peter Varkoly <varkoly@suse.com> 2012-08-13 21:28:47 UTC --- @SEE Hungarian edition below Thats what I saed. During the installation you have only to configure ntpd to start. When the computer works and gets from DHCP-server an time-server the ntpd-daemon gets it by the netconfig as runtime ntp server. If there where be an ntp server configured steady in /etc/ntp.conf this make trouble if it is not accessible. It is a bad idea to use datas from DHCP-server for steady configuration values. The D in DHCP stand for dynamic :-) Éppen ez az amit írtam: Az installáció allatt csak annyit kell tenni, hogy induljon el az ntp service és kész. És semmilyen ntp-servert nem kell megadni LOCAL-on kívül, ami úgy is default. Amikor már üzemel a gép, akkor, ha kap a dhcp-servertöl egy ntp-servert, akkor azt mint runtime-servert meg fogja kapni a netconfigtól. Ez azért jobb, mert ha az installáció allatt valamilyen ntp-servert belekonfigurálunk az ntp.conf-ba, akkor ha éppen nincs hálózatunk, vagy olyan, helyen vagyunk ahol a konfigurált ntp-server nem érhetö el, akkor az ntp-serverünk magyarosan beszarik :-) Az egy nagyon rossz ötlet a DHCP-server által szolgáltatott adatokat konstansként kezelni, hiszen a "D" a DHCP-ben pont a dinamikusságra utal :-) -- 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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c4 Mészáros Gyula <mgyhardsoft@freestart.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #4 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2012-08-24 09:24:23 UTC --- Dear Peter, The problem is just what you've described: the openSuSE install assigns an NTP server which is not available (just because the firewall blocks outside NTP for all but one machines) - so it takes _one and a half minutes_ for the install routine to wait for the NTP server and recognize that it is not available... It does mean that the install routine makes exactly that what you want me to avoid... I don't think that NTP server should be a static configuration value. Just as the IP address, it also can be taken from the DHCP record if there is any, and if not either a default or the LOCAL can be used. I admit it may be a longer development if openSUSE uses static NTP parameters recently. However, what I wish to see as a minimal solution that the install routine would not wait one and a half minute frozen to reach an unreachable NTP server during the installation. This is a bug and it should be fixed. (röviden, magyarul: Pont az a baj az installal, hogy beállít egy NTP-szervert, ami _nem elérhető_ és _másfél percig_ vár, mire erre rájön: pont azt csinálja, amiről le akarsz beszélni... Létezik a DHCP-ben NTP rekord, lehetne dinamikusan használni. Ha az openSUSÉ-ban ez most statikus, akkor ez nagyobb fejlesztést jelent, de a másfél perces várakozást lefagyottnak látszó állapotban csak hibának lehet értékelni, és jó lenne kijavítani...) Thanks Gyula -- 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=732882 https://bugzilla.novell.com/show_bug.cgi?id=732882#c5 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |WORKSFORME --- Comment #5 from Peter Varkoly <varkoly@suse.com> 2013-10-22 15:25:42 UTC --- Works with actual opensuse. -- 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