This is a reimplementation of the bug fix from D40961 without changing nmount(2) semantic.
Not tested.
Differential D42023
Ensure that automount(8) flushes autofs by checking fsid kib on Sep 29 2023, 6:49 PM. Authored by Tags None Referenced Files
Details This is a reimplementation of the bug fix from D40961 without changing nmount(2) semantic. Not tested.
Diff Detail
Event TimelineComment Actions Looks fine to me. I don't know enough about Hopefully the original reporter can test this
Comment Actions The additional check of the fstype in automount.c got lost in this patch; without it, you get a lot of unnecessary errors (since it will log_err for each covered mountpoint) Comment Actions Do you mean your patch from D40961 for automount.c? If yes, please send me it as git-formatted patch by mail, with all metadata and perhaps 'Differential revision: https://reviews.freebsd.org/D40961' tag. It is your change. Comment Actions I don't know of any legitimate case where one autofs would be mounted directly over another one, so it should not matter much; using the last statfs is probably cleanest. I will test this version shortly. Comment Actions I'm not sure what exactly happened here, but I suspect there was something wrong with testing it: while one of previous Kib's commits fixed the instapanic on "automount -c", it still doesn't work, see last few entries at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274992.
|