Radar / OpenRadar: 34371492
While testing a custom Bash script to re-issue a personal FileVault Recovery Key with macOS 10.13 (17A360a) and an APFS-formatted drive, we’re receiving an Exit Code of 136, which is NOT listed in the man page for fdesetup.
We’re seeing the following errors in the logs:
Unloading FDERecoveryAgent...
/System/Library/LaunchDaemons/com.apple.security.FDERecoveryAgent.plist: Could not find specified service
Error: Unable to change key.
FAILED: FileVault Configuration Tool exited with return code: 136.
The script works as expected while running macOS 10.12.6 (16G29).
