mounts: list says an armed automount waits, not mounted, as the look already judges it (issue 437)
mesh/merge-gate pass: builds mounts → shanks; no bus step; every machine composes with the change as it did without (4 of 4 compose)
mesh/repo-check pass: its merge-check.sh passed, each part in its toolchain: merge-check.sh (go), merge-check-typescript.sh (typescript)
mesh/delivery delivered

The autofs line an armed automount leaves in mountinfo made List say
"mounted" while nothing was mounted. One judgement, Mounted.IsAutomount,
now serves List, the look and the checks before a mount.
This commit is contained in:
2026-10-11 02:17:47 +02:00
parent 372b6c2323
commit 520763e98d
4 changed files with 41 additions and 4 deletions
+1 -1
View File
@@ -593,7 +593,7 @@ func (a *Applier) judge(p Pair, states map[string]map[string]string, mounted map
}
mnt, auto := states[p.MountUnit], states[p.AutoUnit]
cur, isMounted := mounted[p.Mountpoint]
isMounted = isMounted && cur.Type != "autofs"
isMounted = isMounted && !cur.IsAutomount()
switch {
case !there && p.Occasional:
return StateAbsent, "not present: " + tried.Error()