Skip to content

Commit

Permalink
test-image: Workaround Linux 6.6.3 regression
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 3, 2023
1 parent b6eae7c commit ae78844
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/test-image
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ else
incus init "${TEST_IMAGE}" "${TEST_IMAGE}-${PRIV}"
INSTANCES="${INSTANCES} ${TEST_IMAGE}-${PRIV}"

# FIXME: workaround for Linux 6.6.3 apparmor regression.
printf "2\ndenylist\nreject_force_umount\n[all]\nfsconfig errno 38\nfsopen errno 38\n" | incus config set "${TEST_IMAGE}" raw.seccomp -

if [ "${PRIV}" = "priv" ]; then
incus config set "${TEST_IMAGE}-${PRIV}" security.privileged=true
fi
Expand Down

0 comments on commit ae78844

Please sign in to comment.