{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/1368","labels_url":"https://api.github.com/repos/systemd/systemd/issues/1368/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1368/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/1368/events","html_url":"https://github.com/systemd/systemd/issues/1368","id":108087115,"number":1368,"title":"IPv4 network stays in state \"configuring\" forever","user":{"login":"martinpitt","id":200109,"avatar_url":"https://avatars.githubusercontent.com/u/200109?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpitt","html_url":"https://github.com/martinpitt","followers_url":"https://api.github.com/users/martinpitt/followers","following_url":"https://api.github.com/users/martinpitt/following{/other_user}","gists_url":"https://api.github.com/users/martinpitt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpitt/subscriptions","organizations_url":"https://api.github.com/users/martinpitt/orgs","repos_url":"https://api.github.com/users/martinpitt/repos","events_url":"https://api.github.com/users/martinpitt/events{/privacy}","received_events_url":"https://api.github.com/users/martinpitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemd/systemd/labels/network","name":"network","color":"fad8c7"},{"url":"https://api.github.com/repos/systemd/systemd/labels/regression","name":"regression","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/systemd/systemd/milestones/5","html_url":"https://github.com/systemd/systemd/milestones/v227","labels_url":"https://api.github.com/repos/systemd/systemd/milestones/5/labels","id":1294140,"number":5,"title":"v227","description":"","creator":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2015-09-07T17:01:06Z","updated_at":"2015-09-24T08:54:05Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-24T08:53:48Z","updated_at":"2015-09-24T09:41:50Z","closed_at":null,"body":"Our CI tests detected a networkd regression in trunk (still worked in 226): With a standard `.network` file like\r\n\r\n```\r\n# cat /run/systemd/network/test_eth42.network \r\n[Match]\r\nName=test_eth42\r\n[Network]\r\nDHCP=yes\r\n```\r\n\r\nthe interface now stays in state \"configuring\" eternally:\r\n\r\n```\r\n# networkctl status test_eth42\r\n● 14: test_eth42\r\n       Link File: /lib/systemd/network/99-default.link\r\n    Network File: /run/systemd/network/test_eth42.network\r\n            Type: ether\r\n           State: routable (configuring)\r\n          Driver: veth\r\n      HW Address: 5e:4b:19:a5:64:72\r\n             MTU: 1500\r\n         Address: 192.168.5.127\r\n                  fe80::5c4b:19ff:fea5:6472\r\n         Gateway: 192.168.5.1\r\n             DNS: 192.168.5.1\r\n```\r\n\r\nThe interface is actually fully configured, I'm not quite sure yet what it's still waiting on. Journal output from the point when networkd starts:\r\n\r\n```\r\nSep 24 10:49:00 debian systemd[1]: Started Network Service.\r\nSep 24 10:49:00 debian systemd-udevd[4524]: Could not generate persistent MAC address for router_eth42: No such file or directory\r\nSep 24 10:49:00 debian systemd-udevd[4525]: Could not generate persistent MAC address for test_eth42: No such file or directory\r\nSep 24 10:49:00 debian kernel: IPv6: ADDRCONF(NETDEV_UP): router_eth42: link is not ready\r\nSep 24 10:49:00 debian kernel: IPv6: ADDRCONF(NETDEV_CHANGE): router_eth42: link becomes ready\r\nSep 24 10:49:00 debian systemd-networkd[4522]: test_eth42: Gained carrier\r\nSep 24 10:49:00 debian systemd-networkd[4522]: router_eth42: Gained carrier\r\nSep 24 10:49:00 debian systemd-timesyncd[3262]: Synchronized to time server 78.46.76.100:123 (0.debian.pool.ntp.org).\r\nSep 24 10:49:01 debian systemd-timesyncd[3262]: Network configuration changed, trying to establish connection.\r\nSep 24 10:49:01 debian systemd-timesyncd[3262]: Synchronized to time server 78.46.76.100:123 (0.debian.pool.ntp.org).\r\nSep 24 10:49:02 debian systemd-timesyncd[3262]: Network configuration changed, trying to establish connection.\r\nSep 24 10:49:02 debian systemd-timesyncd[3262]: Synchronized to time server 78.46.76.100:123 (0.debian.pool.ntp.org).\r\nSep 24 10:49:05 debian systemd-networkd[4522]: test_eth42: DHCPv4 address 192.168.5.127/24 via 192.168.5.1\r\nSep 24 10:49:05 debian systemd-networkd[4522]: test_eth42: Not connected to system bus, ignoring transient hostname.\r\nSep 24 10:49:05 debian systemd-timesyncd[3262]: Network configuration changed, trying to establish connection.\r\nSep 24 10:49:05 debian systemd-timesyncd[3262]: Synchronized to time server 78.46.76.100:123 (0.debian.pool.ntp.org).\r\n```\r\n\r\nI'll run a bisect and further investigations, but want to flag this for the upcoming 227 release."},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/142873099","html_url":"https://github.com/systemd/systemd/issues/1368#issuecomment-142873099","issue_url":"https://api.github.com/repos/systemd/systemd/issues/1368","id":142873099,"user":{"login":"martinpitt","id":200109,"avatar_url":"https://avatars.githubusercontent.com/u/200109?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpitt","html_url":"https://github.com/martinpitt","followers_url":"https://api.github.com/users/martinpitt/followers","following_url":"https://api.github.com/users/martinpitt/following{/other_user}","gists_url":"https://api.github.com/users/martinpitt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpitt/subscriptions","organizations_url":"https://api.github.com/users/martinpitt/orgs","repos_url":"https://api.github.com/users/martinpitt/repos","events_url":"https://api.github.com/users/martinpitt/events{/privacy}","received_events_url":"https://api.github.com/users/martinpitt/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T09:41:50Z","updated_at":"2015-09-24T09:41:50Z","body":"Bisected to https://github.com/systemd/systemd/commit/18d2955 from PR #1356 (landed yesterday). At first sight it looks like the intention of this was to restore DHCPv6 after resuming, but there is a bug that the initial DHCP after a fresh boot does not properly recognize that DHCPv6 is not being used? (`bool dhcp6_configured`).\r\n\r\nI don't think the intention of this was to break `networkd-wait-online` for an interface that only gets IPv4 DHCP info, at least that would make it quite useless.\r\n\r\n@pfl , this seems to be your's?"}}