On SLES 15 SP1, I tried to restart network.service by running command ‘systemctl restart network.service’, but this command took more than 30 seconds to return 0, why it took so much time?
After enabled wicked.service debug log, see time from 10:15:08 to 10:15:32, why it took 24 seconds here?
Here is log segment:
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: eth0: configuration applied to nanny
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: Calling /org/opensuse/Network/Nanny.recheck()
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: ni_dbus_object_call_variant(/org/opensuse/Network/Nanny, if=org.opensuse.Network.Nanny, method=recheck)
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=device-exists
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-exists
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=device-ready
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-ready
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=device-setup
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-setup
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=protocols-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=protocols-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=firewall-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=firewall-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=device-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=link-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=link-authenticated
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=lldp-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=device-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=link-up
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=link-authenticated
Jul 24 10:15:02 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/3; target_state=network-up, state_name=lldp-up
Jul 24 10:15:08 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=addrconf-up
Jul 24 10:15:08 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=network-up
Jul 24 10:15:08 goscIcChildVM-1595585511 wicked[3280]: received signal progressInfo; object_path=/org/opensuse/Network/Nanny/Interface/1; target_state=network-up, state_name=network-up
Jul 24 10:15:32 goscIcChildVM-1595585511 wicked[3280]: Interface wait time reached