Skip to content

Commit fc5c29d

Browse files
Merge pull request #27463 from ricardobranco777/runc_133
test/system: Update test to handle new error message from runc 1.3.3
2 parents 711c7df + 14cb9d2 commit fc5c29d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/system/410-selinux.bats

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,10 @@ function check_label() {
259259
# https://github.com/opencontainers/selinux/pull/148/commits/a5dc47f74c56922d58ead05d1fdcc5f7f52d5f4e
260260
# from failed to set /proc/self/attr/keycreate on procfs
261261
# to write /proc/self/attr/keycreate: invalid argument
262-
runc) expect=".*: \(failed to set\|write\) /proc/self/attr/keycreate.*" ;;
262+
# runc 1.3.3 (temporarily?) changed the error message because of the fix to CVE-2025-52881, see
263+
# https://github.com/opencontainers/runc/commit/2c5356e73f15b246729d03198bfb2c6c33454099
264+
# to write fsmount:fscontext:proc/self/attr/keycreate: invalid argument
265+
runc) expect=".*: \(failed\|write\).*proc/self/attr/keycreate.*" ;;
263266
*) skip "Unknown runtime '$runtime'";;
264267
esac
265268

0 commit comments

Comments
 (0)