{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/29188","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/29188/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/29188/comments","events_url":"https://api.github.com/repos/docker/docker/issues/29188/events","html_url":"https://github.com/docker/docker/pull/29188","id":193861615,"number":29188,"title":"add selinux policy for centos-7 on 1.12.x branch","user":{"login":"andrewhsu","id":57640,"avatar_url":"https://avatars.githubusercontent.com/u/57640?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewhsu","html_url":"https://github.com/andrewhsu","followers_url":"https://api.github.com/users/andrewhsu/followers","following_url":"https://api.github.com/users/andrewhsu/following{/other_user}","gists_url":"https://api.github.com/users/andrewhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewhsu/subscriptions","organizations_url":"https://api.github.com/users/andrewhsu/orgs","repos_url":"https://api.github.com/users/andrewhsu/repos","events_url":"https://api.github.com/users/andrewhsu/events{/privacy}","received_events_url":"https://api.github.com/users/andrewhsu/received_events","type":"User","site_admin":false},"labels":[{"id":175374554,"url":"https://api.github.com/repos/docker/docker/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-06T19:25:28Z","updated_at":"2016-12-06T20:21:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/29188","html_url":"https://github.com/docker/docker/pull/29188","diff_url":"https://github.com/docker/docker/pull/29188.diff","patch_url":"https://github.com/docker/docker/pull/29188.patch"},"body":"<!--\r\nPlease make sure you've read and understood our contributing guidelines;\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md\r\n\r\n** Make sure all your commits include a signature generated with `git commit -s` **\r\n\r\nFor additional information on our contributing process, read our contributing\r\nguide https://docs.docker.com/opensource/code/\r\n\r\nIf this is a bug fix, make sure your description includes \"fixes #xxxx\", or\r\n\"closes #xxxx\"\r\n\r\nPlease provide the following information:\r\n-->\r\n\r\n**- What I did**\r\n\r\nCherry picked commits from the PR #29081 which was originally applied to `master` and merged to `1.13.x` branch. Had to resolve conflicts in commit bfe5cab.\r\n\r\n**- How I did it**\r\n\r\n$ git cherry-pick e0852bec9613622a4a182d5170a59655c7cf1c6a # add selinux policy for centos-7\r\n$ git cherry-pick 09e68fdd527e8e41cc618a0b3e8700528671613c # add extra docker.te lines from rhel7.3 docker.spec\r\n$ git cherry-pick bfe5cab13bf0c83624fde0ab74f223bfa15d04c2 # get rhel7.3 selinux-policy-devel pkg for centos-7\r\n\r\n**- How to verify it**\r\n\r\nSame way to verify PR #29081.\r\n\r\n**- Description for the changelog**\r\n<!--\r\nWrite a short (one line) summary that describes the changes in this\r\npull request for inclusion in the changelog:\r\n-->\r\n\r\nUpdate selinux policy for distros based on RHEL7.3.\r\n\r\n**- A picture of a cute animal (not mandatory but encouraged)**\r\n\r\n🐴 \r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/265261659","html_url":"https://github.com/docker/docker/pull/29188#issuecomment-265261659","issue_url":"https://api.github.com/repos/docker/docker/issues/29188","id":265261659,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T20:21:53Z","updated_at":"2016-12-06T20:21:53Z","body":"Ok, this one really isn't working :(\r\n\r\nUsing devmapper, selinux enabled.\r\nGetting eperm starting any container.\r\n\r\n</details>\r\n\r\n```\r\n[root@localhost centos-7]# rpm -qa | grep docker\r\ndocker-engine-1.12.3-0.0.20161202.223924.git97b6626.el7.centos.x86_64\r\ndocker-engine-selinux-1.12.3-0.0.20161202.223924.git97b6626.el7.centos.noarch\r\n```\r\n\r\n```\r\nContainers: 0\r\n Running: 0\r\n Paused: 0\r\n Stopped: 0\r\nImages: 2\r\nServer Version: 1.12.3\r\nStorage Driver: devicemapper\r\n Pool Name: docker-253:0-202507361-pool\r\n Pool Blocksize: 65.54 kB\r\n Base Device Size: 10.74 GB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 164.8 MB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 38.97 GB\r\n Metadata Space Used: 643.1 kB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.147 GB\r\n Thin Pool Minimum Free Space: 10.74 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Deferred Deletion Enabled: false\r\n Deferred Deleted Device Count: 0\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.107-RHEL7 (2016-06-09)\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: null host bridge overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp selinux\r\nKernel Version: 3.10.0-327.36.3.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 489 MiB\r\nName: localhost.localdomain\r\nID: REMP:63QW:5F5W:XFXM:IJQV:IHEO:AY5N:E2EH:PO6C:2VSX:Z2OJ:5Z7D\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n```\r\nClient:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   97b6626\r\n Built:        Tue Dec  6 19:57:55 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   97b6626\r\n Built:        Tue Dec  6 19:57:55 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n</details>"}}
{"actor":{"display_login":"cpuguy83"}}