{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10782","labels_url":"https://api.github.com/repos/docker/docker/issues/10782/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10782/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10782/events","html_url":"https://github.com/docker/docker/pull/10782","id":57662304,"number":10782,"title":"Fix iptables exists checks","user":{"login":"larsks","id":82622,"avatar_url":"https://avatars.githubusercontent.com/u/82622?v=3","gravatar_id":"","url":"https://api.github.com/users/larsks","html_url":"https://github.com/larsks","followers_url":"https://api.github.com/users/larsks/followers","following_url":"https://api.github.com/users/larsks/following{/other_user}","gists_url":"https://api.github.com/users/larsks/gists{/gist_id}","starred_url":"https://api.github.com/users/larsks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsks/subscriptions","organizations_url":"https://api.github.com/users/larsks/orgs","repos_url":"https://api.github.com/users/larsks/repos","events_url":"https://api.github.com/users/larsks/events{/privacy}","received_events_url":"https://api.github.com/users/larsks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/0-triage","name":"0-triage","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-13T22:24:29Z","updated_at":"2015-02-13T22:25:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/10782","html_url":"https://github.com/docker/docker/pull/10782","diff_url":"https://github.com/docker/docker/pull/10782.diff","patch_url":"https://github.com/docker/docker/pull/10782.patch"},"body":"This fixes problems in pkg/iptables/iptables.go in which we were calling\r\nExists without a chain name in the arguments, causing the check to fail\r\nin all cases.\r\n\r\nResolves #10781.\r\n\r\nThis isn't the final fix: iptables.go is a mess right now, and we should probably be checking the exit status of /sbin/iptables to catch this sort of thing (e.g., raise an error if the exit code == 2, which means \"you screwed up your command\")."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/74337998","html_url":"https://github.com/docker/docker/pull/10782#issuecomment-74337998","issue_url":"https://api.github.com/repos/docker/docker/issues/10782","id":74337998,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T22:25:00Z","updated_at":"2015-02-13T22:25:00Z","body":"Can you please sign your commits following these rules:\n\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work\n\nThe easiest way to do this is to amend the last commit:\n\n~~~console\n$ git clone -b \"bug/10781\" git@github.com:larsks/docker.git somewhere\n$ cd somewhere\n$ git commit --amend -s --no-edit\n$ git push -f\n~~~"}}