Skip to content

feat(automount): detect and fix broken automounts - #21

Merged
cooper-wright[bot] merged 1 commit into
mainfrom
feat/automount-fix
Oct 29, 2026
Merged

cooper-wright[bot] merged 1 commit into
mainfrom
feat/automount-fix

Conversation

@zackkitzmiller

Copy link
Copy Markdown
Member

The Automount tab now flags automounts with a known problem and offers
f:fix only on those entries:

  • boot ordering cycle: the .automount orders itself after
    network-online.target (units written by smbark <= 1.2.1). The fix
    strips those lines.
  • last mount failed: the .mount unit's systemd Result is not success,
    typically a pinned dialect the server rejects. The fix re-probes
    dialects using the unit's own options and rewrites Options= with the
    one that works.

FixAutomount always reloads and restarts the automount, so a failed fix
never leaves the share without one. Sudo errors prompt and retry, as for
the other automount actions.

The Automount tab now flags automounts with a known problem and offers
f:fix only on those entries:

- boot ordering cycle: the .automount orders itself after
  network-online.target (units written by smbark <= 1.2.1). The fix
  strips those lines.
- last mount failed: the .mount unit's systemd Result is not success,
  typically a pinned dialect the server rejects. The fix re-probes
  dialects using the unit's own options and rewrites Options= with the
  one that works.

FixAutomount always reloads and restarts the automount, so a failed fix
never leaves the share without one. Sudo errors prompt and retry, as for
the other automount actions.
@netlify

netlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for smbark canceled.

Name Link
🔨 Latest commit c6bbc2f
🔍 Latest deploy log https://app.netlify.com/projects/smbark/deploys/6ae2bc69b6168e40984663d7

@cooper-wright
cooper-wright Bot merged commit 66a46b5 into main Oct 29, 2026
9 checks passed
@cooper-wright
cooper-wright Bot deleted the feat/automount-fix branch October 29, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant