photon icon indicating copy to clipboard operation
photon copied to clipboard

systemd-networkd-wait-online hangs with host-only network on VMware Workstation

Open higebu opened this issue 11 years ago • 6 comments

systemd-networkd-wait-online hangs, when I add at least one host-only network to photon vm.

systemd-networkd-wait-online-hanging

higebu avatar Apr 25 '15 03:04 higebu

My network settings is below:

[Match]
Name=eth*

[Network]
DHCP=v4

higebu avatar Apr 27 '15 04:04 higebu

@higebu How about this if you use Vagrant? https://github.com/vmware/vagrant-guests-photon/pull/1

ailispaw avatar Apr 27 '15 19:04 ailispaw

@ailispaw I didn't use Vagrant. But I'll check it.

higebu avatar Apr 28 '15 08:04 higebu

@higebu You're right. I still see as below. It doesn't seem to work with DHCP well.

$ systemctl list-units | grep systemd-networkd-wait-online
systemd-networkd-wait-online.service   loaded activating start   start Wait for Network to be Configured
$ networkctl list
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           carrier     unmanaged
  2 eth0             ether              routable    configured
  3 eth1             ether              routable    configured
  4 eth2             ether              routable    configuring
  5 docker0          ether              routable    unmanaged
  7 veth77754ee      ether              degraded    unmanaged

6 links listed.

ailispaw avatar Apr 28 '15 22:04 ailispaw

I applied @higebu 's https://github.com/higebu/photon/releases/download/systemd-216-2/systemd-216-2.x86_64.rpm to my box. It works good for me. Thanks.

ailispaw avatar Apr 28 '15 23:04 ailispaw

@higebu: systemd is updated to 228 in rc. Please reopen if you see this issue in rc.

ppadmavilasom avatar Apr 28 '16 21:04 ppadmavilasom