
https://bugzilla.novell.com/show_bug.cgi?id=740606 https://bugzilla.novell.com/show_bug.cgi?id=740606#c0 Summary: leftover dhcpcd entries block ntp start Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bwiedemann@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20100101 Firefox/9.0 I found that my laptop could no more boot up at home and that it hung trying to start ntp. insserv -r ntp made it boot, but when I then did rcntp start I could see that this part hung again indefinitely in /usr/sbin/sntp -s 149.44.160.1 which tried to connect an unreachable private ntp server. checking /etc/init.d/ntp I found that the IP comes from leftover entries from dhcpcd: ==> /var/run/ntp/servers.eth0 <== ### BEGIN INFO # # Modified_by: dhcpcd # Process: /sbin/dhcpcd # Process_id: 6443 # # Info: This is a temporary autogenerated config by the NTP init script. # In the case of a restart these infomrmations are used to # configure ntpd during runtime. ### END INFO RUNTIME_SERVERS="149.44.160.1 149.44.160.146 149.44.160.146" ==> /var/run/ntp/servers.wlan0 <== ### BEGIN INFO # # Modified_by: dhcpcd # Process: /sbin/dhcpcd # Process_id: 20222 # # Info: This is a temporary autogenerated config by the NTP init script. # In the case of a restart these infomrmations are used to # configure ntpd during runtime. ### END INFO RUNTIME_SERVERS="149.44.160.1 149.44.160.146 149.44.168.42" and I also found # cat /etc/yp.conf # Generated by dhcpcd for interface eth0 domain suse.de server 10.10.0.1 domain suse.de server 149.44.160.146 domain suse.de server 149.44.160.1 All of which is completely invalid when I am at home. I propose a) calling sntp with -t 2 (which for some reason causes timeout after 10 seconds (with -t 4 after 20 seconds)) and b) dhcpcd cleaning these leftover entries at start Reproducible: Always Steps to Reproduce: 1. do dhcp in a subnet with broadcasted ntp services (on ethernet and wlan) like SUSE's 10.10.x.x network 2. do dhcp in a wlan elsewhere Actual Results: boot hangs Expected Results: should boot or at least timeout boot hung with both systemd and sysVinit -- 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.