summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-12 06:57:44 -0800
committerGitHub <noreply@github.com>2018-12-12 06:57:44 -0800
commitb7729cf3eb504680c98ee7703b4b22f00023ce91 (patch)
treef82b6d2880976f11e76b893f529dca5f1f8c4ca0 /libpod
parent8a3361f46c87933aff04c9acaaf48b7c130bc9d8 (diff)
parent64ac54625924e226611d53497a941affaddb0a23 (diff)
downloadpodman-b7729cf3eb504680c98ee7703b4b22f00023ce91.tar.gz
podman-b7729cf3eb504680c98ee7703b4b22f00023ce91.tar.bz2
podman-b7729cf3eb504680c98ee7703b4b22f00023ce91.zip
Merge pull request #1962 from rhatdan/criu
Set Socket label for contianer
Diffstat (limited to 'libpod')
-rw-r--r--libpod/oci.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index 3222f9403..093bfdd35 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -861,6 +861,7 @@ func (r *OCIRuntime) execStopContainer(ctr *Container, timeout uint) error {
// checkpointContainer checkpoints the given container
func (r *OCIRuntime) checkpointContainer(ctr *Container, options ContainerCheckpointOptions) error {
+ label.SetSocketLabel(ctr.ProcessLabel())
// imagePath is used by CRIU to store the actual checkpoint files
imagePath := ctr.CheckpointPath()
// workPath will be used to store dump.log and stats-dump