
Boosted by kornel ("Kornel"):
pid_eins ("Lennart Poettering") wrote:
…you an O_PATH fd to the overmounting fs, not the autofs one.
Yay!
TLDR: there's a good chance many (most?) of the openat(O_PATH) calls in the wild are kinda wrong, and everyone should have used open_tree() instead...
Lesson learned:
https://github.com/systemd/systemd/pull/38048
(And of course, @brauner thanks for enlighening me about this fix)