{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/15896","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/15896/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/15896/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/15896/events","html_url":"https://github.com/ansible/ansible/pull/15896","id":155213961,"number":15896,"title":"Fix OS version check for RHEL 4 to prevent execution of ipv6 ip route…","user":{"login":"gbevan","id":6442555,"avatar_url":"https://avatars.githubusercontent.com/u/6442555?v=3","gravatar_id":"","url":"https://api.github.com/users/gbevan","html_url":"https://github.com/gbevan","followers_url":"https://api.github.com/users/gbevan/followers","following_url":"https://api.github.com/users/gbevan/following{/other_user}","gists_url":"https://api.github.com/users/gbevan/gists{/gist_id}","starred_url":"https://api.github.com/users/gbevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbevan/subscriptions","organizations_url":"https://api.github.com/users/gbevan/orgs","repos_url":"https://api.github.com/users/gbevan/repos","events_url":"https://api.github.com/users/gbevan/events{/privacy}","received_events_url":"https://api.github.com/users/gbevan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-17T09:26:08Z","updated_at":"2016-05-17T16:34:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/15896","html_url":"https://github.com/ansible/ansible/pull/15896","diff_url":"https://github.com/ansible/ansible/pull/15896.diff","patch_url":"https://github.com/ansible/ansible/pull/15896.patch"},"body":"… command that causes kernel panics on RedHat/CentOS 4.8 (kernel 2.6.9-89)\r\n\r\n##### ISSUE TYPE\r\n - Bugfix Pull Request\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.0.2.0\r\nand\r\nansible 1.9.4\r\n```\r\n\r\n##### SUMMARY\r\nRedHat OS version check for version 4 was checking that distribution_version startswith '4.' <- note the '.'.  This works fine with CentOS 4.8, but RHEL 4.8 returns just '4' - so the check fails to prevent the ipv6 ip route command from being run, which triggers a kernel panic.  \r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/219776061","html_url":"https://github.com/ansible/ansible/pull/15896#issuecomment-219776061","issue_url":"https://api.github.com/repos/ansible/ansible/issues/15896","id":219776061,"user":{"login":"gbevan","id":6442555,"avatar_url":"https://avatars.githubusercontent.com/u/6442555?v=3","gravatar_id":"","url":"https://api.github.com/users/gbevan","html_url":"https://github.com/gbevan","followers_url":"https://api.github.com/users/gbevan/followers","following_url":"https://api.github.com/users/gbevan/following{/other_user}","gists_url":"https://api.github.com/users/gbevan/gists{/gist_id}","starred_url":"https://api.github.com/users/gbevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbevan/subscriptions","organizations_url":"https://api.github.com/users/gbevan/orgs","repos_url":"https://api.github.com/users/gbevan/repos","events_url":"https://api.github.com/users/gbevan/events{/privacy}","received_events_url":"https://api.github.com/users/gbevan/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T16:34:22Z","updated_at":"2016-05-17T16:34:22Z","body":"Well, I'm still encountering them out there in the real world (scary as that sounds)... Plus the original code in ansible is intended to prevent the ipv6 ip route command from running on any RedHat family with a distribution_version of 4 - presumably to prevent these kernel panics..."}}