Test case #2 was added to fanotify09 as a regression test for the following upstream commit:
b469e7e47c8a fanotify: fix handling of events on child sub-directory
which has been applied to v4.20 and backported to linux-4.19.y upstream stable. We backported these changes from 4.19.y to 4.15 but they are not trivial for backporting to older kernels, so the best option to fix the test case failures with 4.4 and older kernels is to apply a patch to revert the changes for this test case.
Test case #2 was added to fanotify09 as a regression test for the following upstream commit:
b469e7e47c8a fanotify: fix handling of events on child sub-directory
which has been applied to v4.20 and backported to linux-4.19.y upstream stable. We backported these changes from 4.19.y to 4.15 but they are not trivial for backporting to older kernels, so the best option to fix the test case failures with 4.4 and older kernels is to apply a patch to revert the changes for this test case.
Test case patch sent to mailing-list:
https:/ /lists. ubuntu. com/archives/ kernel- team/2019- September/ 103837. html
Also marking the task for Xenial as 'Won't fix'.