I believe that right now, sled agent on most real systems will fail on startup with:
[ Sep 19 15:47:38 Method "start" exited with status 0. ]
sled-agent: Failed to read config from /opt/oxide/sled-agent/pkg/config-rss.toml: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
[ Sep 19 15:47:38 Stopping because all processes in service exited. ]
[ Sep 19 15:47:38 Executing stop method (:kill). ]
[ Sep 19 15:47:38 Restarting too quickly, changing state to maintenance. ]
Details coming. I think this was introduced yesterday in #9016 here:
https://github.com/oxidecomputer/omicron/pull/9016/files#diff-47887367c1e0816a1e9405c9e748d167c55abd5743fd02c55246ff0bd76e9ff9
Per @jgallagher, that then_some wants to be using then with a closure. As written, even if the file doesn't exist, it attempts to parse it and then bails out with the error.