File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,11 @@ function check_label() {
205
205
# from /proc/thread-self/attr/exec`: .* unable to assign
206
206
# to /proc/self/attr/keycreate`: .* unable to process
207
207
crun) expect=" \` /proc/.*\` : OCI runtime error: unable to \(assign\|process\) security attribute" ;;
208
- runc) expect=" OCI runtime error: .*: failed to set /proc/self/attr/keycreate on procfs" ;;
208
+ # runc 1.1 changed the error message because of new selinux pkg that uses standard os.PathError, see
209
+ # https://github.com/opencontainers/selinux/pull/148/commits/a5dc47f74c56922d58ead05d1fdcc5f7f52d5f4e
210
+ # from failed to set /proc/self/attr/keycreate on procfs
211
+ # to write /proc/self/attr/keycreate: invalid argument
212
+ runc) expect=" OCI runtime error: .*: \(failed to set|write\) /proc/self/attr/keycreate" ;;
209
213
* ) skip " Unknown runtime '$runtime '" ;;
210
214
esac
211
215
You can’t perform that action at this time.
0 commit comments