Question 1: After NetworkExtension is installed, when the software receives a pushed uninstall command, it needs to download the entire software but fails to uninstall this NetworkExtension. Are there any solutions?
Question 2: How can residual, uninstalled NetworkExtensions be cleaned up when SIP (System Integrity Protection) is enabled?
So, I presume we’re talking about Network Extension providers packaged as system extensions on the Mac. If any of that’s wrong, let me know.
Regarding this:
After NetworkExtension is installed, when the software receives a pushed uninstall command, it needs to download the entire software but fails to uninstall this NetworkExtension.
Just to confirm, this “pushed uninstall command” is being issued by your MDM system, right?
If so, I would expect that using MDM to uninstall an app would also uninstall any system extensions that app has installed. It sounds like you’re seeing that this doesn’t happen, in which case I encourage you to file a bug about that. Please post your bug number, just for the record.
How can residual, uninstalled NetworkExtensions be cleaned up when SIP (System Integrity Protection) is enabled?
In general, I expect that the NE container app should provide a UI to uninstall its system extension, in the same way it provides a UI to install it. If that’s not the case, I recommend that you take that up with the app’s developer.
As to how you might work around this, the system does not provide a mechanism to uninstall a sysex other than with systemextensionsctl
, and that requires you to disable SIP.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"