Hi Po-Hsu,
The apparmor mount test is failing because while testing mounting, it is
attempting to mount with the option MS_MANDLOCK and bionic's linux-kvm
kernel has CONFIG_MANDATORY_FILE_LOCKING disabled, causing the operation
to fail even when apparmor is not involved. Given that upstream seems to
believe the code enabled by CONFIG_MANDATORY_FILE_LOCKING is little-used
and buggy, I do not believe that disabling this option in the linux-kvm
kernel is a bug (though it is a difference in behavior with the generic
kernel).
The correct fix here is probably to have the apparmor test use a
different mount option.
Thanks.
** Changed in: qa-regression-testing
Status: New => Confirmed
** Changed in: qa-regression-testing
Status: Confirmed => Triaged
** Changed in: linux (Ubuntu Bionic)
Status: Triaged => Invalid
** Also affects: apparmor
Importance: Undecided
Status: New
** Summary changed:
- test_regression_testsuite in ubuntu_qrt_apparmor failed with 4.15 kvm
+ apparmor mount regression test fails when CONFIG_MANDATORY_FILE_LOCKING is
disabled
** Changed in: apparmor
Status: New => Triaged
** Changed in: qa-regression-testing
Assignee: (unassigned) => Steve Beattie (sbeattie)
** Changed in: apparmor
Assignee: (unassigned) => Steve Beattie (sbeattie)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765025
Title:
apparmor mount regression test fails when
CONFIG_MANDATORY_FILE_LOCKING is disabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1765025/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs