Network Extension update problem

Hi,

I noticed when updating a NetworkExtension that exposes a mach service, the new extension cannot accept XPC connections until reboot.

Note: the extension has a different bundle version, it updates just fine, but it has no ability to receive XPC connections.

Also, I noticed that only for network extensions, its corresponding service name has the version appended to its name.

For example running
Code Block
launchctl print system | grep MyNetworkExtension

Returns
Code Block
NetworkExtension.com.company.MyNetworkExtension.x.y.z

Where x.y.z is the updated version, which is fine.

Also running
Code Block
systemextensionsctl list

Returns the updated version of the network extension.

So the question is, how can I connect through XPC to the updated version?

If I reboot the machine the connection can be made, otherwise it does't work.

Any help would be appreciated. Thank you.
Hi,

We are seeing the same issue. It seems like ARC is not closing previous mach service before the upgrade.
Network Extension update problem
 
 
Q