On 22/09/13 05:35, Andrey Borzenkov wrote:
В Sun, 22 Sep 2013 00:11:03 +1000 Basil Chupin <blchupin@iinet.net.au> пишет:
On 21/09/13 23:18, Andrey Borzenkov wrote:
� Sat, 21 Sep 2013 22:53:10 +1000 Basil Chupin <blchupin@iinet.net.au> �����:
It is not the question of dependencies. You have single service that takes this time to start.
The first obvious question - are you using ifup or NetworkManager. ifup.
OK, then you can simply test what happens if you manually start it.
export SYSTEMD_NO_WRAP=1 /etc/init.d/network stop /etc/init.d/network start
Does it take the same time? Yep, perhaps a second longer as well.
OK. Check "journalctl -u network.service". It gives you output of scripts run when networks starts with time stamps. This could provide enough hints what step takes the most time.
If not, you can stick "set -x" on top of /etc/init.d/network and look where it stalls.
Here is the output of 'journalctl': -- Logs begin at Mon, 2013-09-23 00:01:38 EST, end at Mon, 2013-09-23 13:15:01 EST. -- Sep 23 00:01:58 linux-67gf.site network[576]: Setting up network interfaces: Sep 23 00:01:59 linux-67gf.site network[576]: lo Sep 23 00:01:59 linux-67gf.site network[576]: lo IP address: 127.0.0.1/8 Sep 23 00:01:59 linux-67gf.site network[576]: ..done eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168 Sep 23 00:02:01 linux-67gf.site dhcpcd[1461]: eth0: dhcpcd 3.2.3 starting Sep 23 00:02:01 linux-67gf.site dhcpcd[1461]: eth0: hardware address = 90:f6:52:03:81:44 Sep 23 00:02:01 linux-67gf.site dhcpcd[1461]: eth0: broadcasting for a lease Sep 23 00:02:01 linux-67gf.site dhcpcd[1461]: eth0: offered 192.168.1.2 from 192.168.1.1 Sep 23 00:02:02 linux-67gf.site dhcpcd[1461]: eth0: checking 192.168.1.2 is available on attached networks Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: leased 192.168.1.2 for 86400 seconds Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: no renewal time supplied, assuming 43200 seconds Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: no rebind time supplied, assuming 75600 seconds Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: adding IP address 192.168.1.2/24 Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: adding default route via 192.168.1.1 metric 0 Sep 23 00:02:03 linux-67gf.site dhclient[1477]: send_packet6: Cannot assign requested address Sep 23 00:02:03 linux-67gf.site dhclient[1477]: dhc6: send_packet6() sent -1 of 58 bytes Sep 23 00:02:03 linux-67gf.site dhcpcd[1461]: eth0: Failed to lookup hostname via DNS: Name or service not known Sep 23 00:02:20 linux-67gf.site network[576]: eth0 Starting DHCP4+DHCP6 client. . . . . . . . Sep 23 00:02:20 linux-67gf.site network[576]: eth0 IP address: 192.168.1.2/24 Sep 23 00:02:20 linux-67gf.site network[576]: eth0 DHCP6 continues in background Sep 23 00:02:20 linux-67gf.site network[576]: ..doneSetting up service network . . . . . . . . . . . . ...done BC -- Using openSUSE 13.1, KDE 4.11.1 & kernel 3.11.1-3 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org