landlock04 from ubuntu_ltp_syscalls failed on Jammy (TBROK: landlock_add_rule)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
This is a new test case added on Aug. 8
https:/
And we got our fork updated recently in order to cover Oracular.
So this is not a regression.
Test failed with:
TBROK: landlock_
On all 7 testable filesystems in the end of the test.
Partial test log:
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_supported_
tst_test.c:1799: TINFO: === Testing on ext2 ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext2 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on ext3 ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext3 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on ext4 ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with ext4 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on xfs ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with xfs opts='' extra opts=''
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on btrfs ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with btrfs opts='' extra opts=''
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on vfat ===
tst_test.c:1158: TINFO: Formatting /dev/loop3 with vfat opts='' extra opts=''
tst_test.c:1170: TINFO: Mounting /dev/loop3 to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
tst_test.c:1799: TINFO: === Testing on tmpfs ===
tst_test.c:1158: TINFO: Skipping mkfs for TMPFS filesystem
tst_test.c:1134: TINFO: Limiting tmpfs size to 32MB
tst_test.c:1170: TINFO: Mounting ltp-tmpfs to /tmp/ltp-
landlock_
landlock04.c:151: TINFO: Testing LANDLOCK_
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:129: TINFO: Enable read/exec permissions for /usr/lib/
landlock04.c:171: TBROK: landlock_
Summary:
passed 1039
failed 0
broken 7
skipped 0
warnings 0
Please find the attachment for the complete test log.
LANDLOCK_ ACCESS_ FS_TRUNCATE starts to be supported in kernel v6.2
b9f5ce27c8f8b landlock: Support file truncation