From 58cbbbc56e9f1cee4992ae4f4d3971c0e336ecd2 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 18 Feb 2020 15:01:18 +0100 Subject: set process labels in pkg/spec Set the (default) process labels in `pkg/spec`. This way, we can also query libpod.conf and disable labeling if needed. Fixes: #5087 Signed-off-by: Valentin Rothberg --- cmd/podman/shared/create.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmd') diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go index 99538b3dc..5b244699c 100644 --- a/cmd/podman/shared/create.go +++ b/cmd/podman/shared/create.go @@ -701,9 +701,6 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod. Sysctl: sysctl, } - if err := secConfig.SetLabelOpts(runtime, pid, ipc); err != nil { - return nil, err - } if err := secConfig.SetSecurityOpts(runtime, c.StringArray("security-opt")); err != nil { return nil, err } -- cgit v1.2.3-54-g00ecf