I'm observing something that is a bit worrying when it comes to system extensions.
I have a simple system extension that contains 2 providers:
Problem:
When I start the system extension from a clean state, everything works as fine as it can.
When I stop the system extension, it does stop as fine as it can.
When I try to start the system extension again, the network extension is reported not to be running in the System Preferences > Network pref pane.
If I restart the Mac, the network extension is reported to be running in the System Preferences > Network pref pane.
Question:
Is this the expected behavior?
No restart was required when there was only a NEFilterDataProvider in the system extension.
Environment:
macOS 10.15.4 / Xcode 11.4.1
Side note:
Is system extensions UX improved in Big Sur when it comes to installation, activation, etc. ?
When something goes sideways in Catalina, it's more difficult to figure out the origin of the issue when using system extensions than it used to be with kernel extensions. Part of this is due to the different sources of information not being synchronised or consistent/coherent. e.g. what systemextensionsctl says may not match what the system Preferences > Network panel says.
I have a simple system extension that contains 2 providers:
a NEFilterDataProvider
a NEFilterPacketProvider
Problem:
When I start the system extension from a clean state, everything works as fine as it can.
When I stop the system extension, it does stop as fine as it can.
When I try to start the system extension again, the network extension is reported not to be running in the System Preferences > Network pref pane.
If I restart the Mac, the network extension is reported to be running in the System Preferences > Network pref pane.
Question:
Is this the expected behavior?
No restart was required when there was only a NEFilterDataProvider in the system extension.
Environment:
macOS 10.15.4 / Xcode 11.4.1
Side note:
Is system extensions UX improved in Big Sur when it comes to installation, activation, etc. ?
When something goes sideways in Catalina, it's more difficult to figure out the origin of the issue when using system extensions than it used to be with kernel extensions. Part of this is due to the different sources of information not being synchronised or consistent/coherent. e.g. what systemextensionsctl says may not match what the system Preferences > Network panel says.