diff options
| author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-06-15 20:26:31 -0700 |
|---|---|---|
| committer | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-06-15 20:26:31 -0700 |
| commit | b3f094a61c70a7ef9d1c0c47b926f3b5dc21d889 (patch) | |
| tree | 7765669756c19c6c44d1f5d3c328e127c0bdc1d9 /vendor/golang.org/x/sys/unix/syscall_openbsd.go | |
| parent | 31095349e394b4f5db0b76d3e4c5d05d3e6d05c3 (diff) | |
| download | podman-b3f094a61c70a7ef9d1c0c47b926f3b5dc21d889.tar.gz podman-b3f094a61c70a7ef9d1c0c47b926f3b5dc21d889.tar.bz2 podman-b3f094a61c70a7ef9d1c0c47b926f3b5dc21d889.zip | |
test/system/410-selinux: fix for newer runc
With runc 1.1, we have the following failure:
# #| FAIL: podman emits useful diagnostic on failure
# #| expected: 'Error.*: OCI runtime error: .*: failed to set /proc/self/attr/keycreate on procfs' (using expr)
# #| actual: 'Error: OCI runtime error: runc: runc create failed: unable to start container process: error during container init: write /proc/self/attr/keycreate: invalid argument'
which is caused by the fact that runc 1.1 uses newer opencontainers/selinux
package, which changes custom errors to standard os.PathError instances (so
that they can be unwrapped if needed).
Fix the test case accordingly.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_openbsd.go')
0 files changed, 0 insertions, 0 deletions
