We are seeing this also. When calling [OSSystemExtensionManager sharedManager] submitRequest with the result of a call to deactivationRequestForExtension for our extension, our delegate method for didFailWithError is called.
I have submitted the following via Feedback Assistant ID FB9429149
When calling [OSSystemExtensionManager sharedManager] submitRequest with the result of a call to deactivationRequestForExtension for our extension, and then entering administrator credentials in the dialog which is presented to the user, our delegate method for didFailWithError is called.
The code in the NSError is 4, which so far as I can tell is a OSSystemExtensionError.extensionNotFound
After the failed call, if I try to run "systemextensionsctl list", I get the following output
root@monterey ~ # systemextensionsctl list 3 extension(s) --- com.apple.system_extension.endpoint_security enabled active teamID bundleID (version) name [state] 2021-07-30 13:44:19.741 systemextensionsctl[698:7828] unexpectedly trying to fetch info on a non-staged bundle? zsh: abort systemextensionsctl list
But after rebooting the machine our extension is listed again and remains as [active enabled].
Topic:
App & System Services
SubTopic:
Drivers
Tags: