MacOS

Tahoe Time Machine Failure on Samsung T7

ISSUE

Every good storage failure starts innocently.

Plug in a brand-new Samsung T7.
Select it in Time Machine.
Click “Use Disk.”
Allow macOS to format the drive automatically.
Let the backup run. It may even complete once — maybe even a few more times.
Then it fails with a generic error:
“An error occurred while preparing the backup.”

Time Machine consistently failed during the “Preparing backup” phase on macOS 26.3 (Tahoe).

 …

Fixing a Broken Migration Assistant Clone on macOS Tahoe

Date: 2026-02-10
Host: new Mac (macOS Tahoe)
Context: Migration Assistant clone from older Mac failed

Unrecoverable error.

SecurityAgent was unable to create requested mechanism TeamViewerAuthPlugin:start.


Summary

First day using macOS Tahoe, immediately greeted with a broken Migration Assistant clone from an older Mac. The system failed to reach the login window due to a corrupted SecurityAgent authorization plugin left behind by TeamViewer. This caused login to fail and wedged Setup Assistant in a deadlock during post-migration initialization.


 …

Unbound (sinkhole) on a 🍏 Mac V.2

Introduction to Setting Up Unbound (Sinkhole) on a Mac

This guide walks you through the process of setting up Unbound, a validating, recursive, and caching DNS resolver, on your Mac using MacPorts. The primary goal is to create a DNS sinkhole, which is a security mechanism used to intercept and block malicious traffic. By configuring Unbound on your Mac, you can improve your network security, enhance privacy by using DNS over TLS, and block unwanted ads and trackers.

 …

Fixing doas: not installed setuid on macOS (MacPorts)

Date: 2026-02-08
Host: macOS (MacPorts prefix: /opt/local)
Component: doas (MacPorts)

My WireGuard client app failed to load profiles because the code path relies on doas for privilege escalation. This fix corrects the macOS (MacPorts) doas installation so the client can elevate properly.

doas: not installed setuid

…and exiting with status 1.


Root Cause

On macOS, MacPorts installs doas without the setuid bit by default.

Because doas is not setuid-root, it cannot elevate privileges. Any command relying on it will immediately fail, including:

 …

Fixing a grafana instance on macOS

Date: 2026-02-08
Host: server (macOS Monterey; Homebrew prefix: /usr/local)
Grafana install: Homebrew (/usr/local/opt/grafana)
Grafana data: /usr/local/var/lib/grafana

Grafana (Homebrew on macOS Monterey) & Password Reset + Boot-Time Startup (No GUI Login)


Summary (what was fixed)

  1. Admin login/password wouldn’t work even after “reset” attempts.
  2. Grafana would run manually, but would not reliably run as a user service via brew services and you needed it to start at boot without any desktop login.
  3. fixed both by:
  • Resetting the password against the actual Brew paths + DB that the running server uses.
  • Replacing the GUI-bound LaunchAgent approach with a system LaunchDaemon at /Library/LaunchDaemons/... that runs at boot as your user.

Caveats

“Password reset succeeded” was misleading because I was hitting the wrong DB

Grafana can be pointed at different data directories. In this setup, the running Brew Grafana server uses:

 …