{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1197","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1197/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1197/events","html_url":"https://github.com/coreos/bugs/issues/1197","id":144741858,"number":1197,"title":"systemd-networkd failure ","user":{"login":"kbrwn","id":4100493,"avatar_url":"https://avatars.githubusercontent.com/u/4100493?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrwn","html_url":"https://github.com/kbrwn","followers_url":"https://api.github.com/users/kbrwn/followers","following_url":"https://api.github.com/users/kbrwn/following{/other_user}","gists_url":"https://api.github.com/users/kbrwn/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrwn/subscriptions","organizations_url":"https://api.github.com/users/kbrwn/orgs","repos_url":"https://api.github.com/users/kbrwn/repos","events_url":"https://api.github.com/users/kbrwn/events{/privacy}","received_events_url":"https://api.github.com/users/kbrwn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/bugs/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/bugs/labels/component/networkd","name":"component/networkd","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/bugs/labels/kind/bug","name":"kind/bug","color":"FF0000"},{"url":"https://api.github.com/repos/coreos/bugs/labels/kind/support","name":"kind/support","color":"eb6420"},{"url":"https://api.github.com/repos/coreos/bugs/labels/priority/P0","name":"priority/P0","color":"DF0101"},{"url":"https://api.github.com/repos/coreos/bugs/labels/team/os","name":"team/os","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-30T22:49:19Z","updated_at":"2016-03-31T17:59:01Z","closed_at":null,"body":"reproducible on CoreOS v835.13.0 and 766.5.0\r\nThis was reported by a customer. Here is what the network configs looks like: \r\n\r\ncbr0-interface.network\r\n```\r\n[Match]\r\nName=eno1\r\n\r\n[Network]\r\nBridge=cbr0\r\nGateway=\r\n```\r\n\r\ncbr0.netdev\r\n```\r\n[NetDev]\r\nKind=bridge\r\nName=cbr0\r\n```\r\n\r\ncbr0.network\r\n```\r\n[Match]\r\nName=cbr0\r\n\r\n[Network]\r\nAddress=10.103.26.1/16\r\nGateway=\r\n\r\n[Route]\r\nDestination=10.0.0.0/8\r\nGateway=10.103.0.1\r\n```\r\n\r\nstatic.network\r\n```\r\n[Match]\r\nName=eno*\r\n\r\n[Network]\r\nDHCP=no\r\n```\r\nWhen these units are activated systemd-networkd.service will sporadically fail. \r\n\r\nAn strace shows epoll_ctl returning EBADF: \r\n```\r\nepoll_ctl(5, EPOLL_CTL_DEL, 9, NULL)    = -1 EBADF (Bad file descriptor)\r\n```\r\n\r\nIt looks like the file descriptor that is being deregistered has been closed before it has a chance to dereg.\r\n\r\n```\r\nclose(9)                                = 0\r\nepoll_ctl(5, EPOLL_CTL_DEL, 9, NULL)    = -1 EBADF (Bad file descriptor)\r\nepoll_ctl(5, EPOLL_CTL_DEL, 3, NULL)    = 0\r\nsignalfd4(7, [TERM], 8, O_NONBLOCK|O_CLOEXEC) = 7\r\nsignalfd4(7, [], 8, O_NONBLOCK|O_CLOEXEC) = 7\r\nclose(5)                                = 0\r\nclose(7)                                = 0\r\nclose(6)                                = 0\r\nclose(8)                                = 0\r\n```\r\n[journalnetworklogs.txt](https://github.com/coreos/bugs/files/196446/journalnetworklogs.txt)\r\n\r\n[strace.txt](https://github.com/coreos/bugs/files/196445/strace.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/204055131","html_url":"https://github.com/coreos/bugs/issues/1197#issuecomment-204055131","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1197","id":204055131,"user":{"login":"Vish0007","id":10651412,"avatar_url":"https://avatars.githubusercontent.com/u/10651412?v=3","gravatar_id":"","url":"https://api.github.com/users/Vish0007","html_url":"https://github.com/Vish0007","followers_url":"https://api.github.com/users/Vish0007/followers","following_url":"https://api.github.com/users/Vish0007/following{/other_user}","gists_url":"https://api.github.com/users/Vish0007/gists{/gist_id}","starred_url":"https://api.github.com/users/Vish0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vish0007/subscriptions","organizations_url":"https://api.github.com/users/Vish0007/orgs","repos_url":"https://api.github.com/users/Vish0007/repos","events_url":"https://api.github.com/users/Vish0007/events{/privacy}","received_events_url":"https://api.github.com/users/Vish0007/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:59:01Z","updated_at":"2016-03-31T17:59:01Z","body":"which file its trying to handle while it bails out?\r\nis it some virtual device file or on of the network config files?"}}