Stop SSHFS hanging, and name the real reason Gatekeeper refuses an app

With macFUSE's FSKit extension off, sshfs waits forever and ignores TERM;
sftp_mount gives it 30 seconds, then stops it and says to turn macFUSE on.

On a Mac that allows only App Store apps, app_install said the download
"isn't notarized"; it now says the Mac only allows App Store apps, and where
to change that.

The vanilla image is like that and since macOS 15 only System Settings or
MDM can change it, so 70-apps checks the message and skips the installs
there. 85-sftp checks that add_sftp gives up while the extension is off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-11 15:01:03 -07:00
co-authored by Claude Opus 5.5
parent f2e6908dfd
commit eab26c0888
5 changed files with 74 additions and 11 deletions
+3 -2
View File
@@ -34,7 +34,7 @@ Each scenario runs on a fresh clone of Cirrus Labs' **vanilla** macOS image (def
- **What's in it:** macOS as it comes, with auto-login and a user `admin` (password `admin`) who has passwordless sudo.
- **Why vanilla:** the "base" images come with Homebrew, Node.js and jq. Those would hide the paths a new Mac takes, where `configure` has to download its tools.
- **Gatekeeper:** the vanilla image switches Gatekeeper off, so `70-apps` switches it back on before testing downloads.
- **Gatekeeper:** the vanilla image switches Gatekeeper off, so `70-apps` switches it back on before testing downloads. The image also allows only App Store apps (`spctl --status -v` says "developer id disabled"), and since macOS 15 only System Settings or MDM can change that. So `70-apps` checks that `app_install` says so, and skips installing Element, Nextcloud and Tailscale. To test those installs, allow "App Store & Known Developers" in a VM's Privacy & Security once, and use that VM as the image (see below).
`run` drives each scenario from your Mac:
@@ -66,9 +66,10 @@ macOS deliberately allows these only with a click, so test them by hand on a VM
- **Installing the profile:** in System Settings > Profiles, choose "Federated Core (...)", then Install. Then check Mail, Calendar and Contacts against a real Core. `configure core` notices the profile was installed.
- **Full Disk Access for Federated Backup:** after granting it, `configure backup` says it can read all your files, and the backup log no longer has permission errors for Documents and Desktop.
- **Turning on macFUSE's file system extension**, if `85-sftp` couldn't do it with `pluginkit`: then mount an SFTP folder with `configure storage`.
- **Turning on macFUSE's file system extension**, if `85-sftp` couldn't do it with `pluginkit`: then mount an SFTP folder with `configure storage`. With the extension off, `85-sftp` checks that `add_sftp` gives up after 30 seconds rather than hanging.
- **Mounting a real SMB share:** the sign-in window, "Remember this password in my keychain", and whether `mount volume "smb://host"` without a share offers a list of shares.
- **Tailscale's VPN approval**, and **Nextcloud's sign-in** in the browser.
- **Installing Element, Nextcloud and Tailscale**, on an image that allows apps from identified developers: start a VM with `--keep`, choose "App Store & Known Developers" in System Settings > Privacy & Security, stop it, then `tart clone` it to a new name and run `smoketest/run --image <that name> 70`.
## Writing a scenario