[19.03 backport] docker-ce.spec: bump container-selinux req#340
[19.03 backport] docker-ce.spec: bump container-selinux req#340kolyshkin wants to merge 1 commit intodocker:19.03from
Conversation
Recent runc now requires container-selinux >= 2.95 for write access to /proc/self/attr/keycreate. In case of older version, the error is: > docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"write /proc/self/attr/keycreate: permission denied\"": unknown. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 9606895c37f68b06fc88a44801f5e7f49f927857)
|
PR to master is #339 |
|
@thaJeztah @seemethere PTAL |
|
@clemenko could you double-check? I think there was a separate regression in that package (exposed ports being blocked) that required downgrading (or do versions > 2.95 work as well?)) |
|
This also applies to the 19.03.0-rc2. and downgrading works. |
|
Actually downgrading does not work. even with the |
seemethere
left a comment
There was a problem hiding this comment.
LGTM but do note that container-selinux >= 2.95 is not yet released for fedora 28:
❯ docker run --rm -it fedora:28 sh -c 'dnf list --showduplicates container-selinux | tail -1'
container-selinux.noarch 2:2.85-1.git92af7fd.fc28 updates
|
OK this does not seem to be the fix. To my best understanding, the fix belongs to the kernel (see https://bugzilla.redhat.com/show_bug.cgi?id=1719067), and the workaround belongs to runc (see opencontainers/runc#2070) |
@seemethere |
Recent runc now requires container-selinux >= 2.95 for write access
to /proc/self/attr/keycreate. In case of older version, the error is:
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
(cherry picked from commit 9606895c37f68b06fc88a44801f5e7f49f927857)