inotify is broken on overlayfs
Submitted by Iain Lane
Link to original bug (#702803)
Description
When packaging 2.37 for Ubuntu, I got this test failure
GLib-GIO:ERROR:/«PKGBUILDDIR»/./gio/tests/file.c:477:test_create_delete: assertion failed (data->monitor_changed > 0): (0 > 0) /file/async-create-delete/0: FAIL GTester: last random seed: R02Sc0da754e1a1d931577a22d34346d47a1
turns out it's because I was building on overlayfs (maybe this is an Ubuntu kernel patch?) and inotify is broken there:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/882147
Would it be possible to not select the inotify backend when looking at files on an overlayfs filesystem to avoid this breakage glib side?
Version: 2.37.x