Mole icon indicating copy to clipboard operation
Mole copied to clipboard

[BUG] VPN disconnect after mo uninstall

Open Christian-SC26 opened this issue 6 months ago • 5 comments

Describe the bug

After last release (1.38) it is again start disconnect vpn

Steps to reproduce

  1. Run command: mo ininstall
  2. delete any app
  3. See error

Christian-SC26 avatar May 10 '26 18:05 Christian-SC26

@Christian-SC26 thank you for the report. I checked the current uninstall path and the existing NetworkExtension/VPN protections still hold, but this report does not include enough detail to tie the disconnect to a specific action.

Could you share the VPN app name, the app you removed, MO_DEBUG=1 mo uninstall logs, and ifconfig | grep -A2 "^utun" before and after the disconnect? I will keep this open until we have a reproducible path.

tw93 avatar May 11 '26 11:05 tw93

weird. I can't reproduce the bug even though i'm still on 1.38. I checked operations.log and thought the reason was deleting a Homebrew cask, but I tried deleting another one and nothing happened (same for regular apps). VPN is still connected.

VPN is AmneziaWG App name - Pika (first line in uninstall session)

  • operations.log

========== uninstall session started at 2026-05-11 11:40:28 ==========

[2026-05-11 11:40:59] [uninstall] TRASHED /Users/main/Library/HTTPStorages/com.superhighfives.Pika (batch)

========== uninstall session started at 2026-05-11 21:26:07 ==========

========== uninstall session started at 2026-05-11 21:27:36 ==========

========== uninstall session started at 2026-05-11 21:27:58 ==========

[2026-05-11 21:29:10] [uninstall] TRASHED /Applications/Unite Pro.app (71232KB) [2026-05-11 21:29:10] [uninstall] TRASHED /Users/main/Library/Application Support/Unite Pro (batch) [2026-05-11 21:29:10] [uninstall] TRASHED /Users/main/Library/Caches/com.BZG.unitepro (batch) [2026-05-11 21:29:10] [uninstall] TRASHED /Users/main/Library/HTTPStorages/com.BZG.unitepro (batch) [2026-05-11 21:29:10] [uninstall] TRASHED /Users/main/Library/HTTPStorages/com.BZG.unitepro.binarycookies (batch) [2026-05-11 21:29:10] [uninstall] TRASHED /Users/main/Library/Preferences/com.BZG.unitepro.plist (batch)

========== uninstall session started at 2026-05-11 21:32:08 ==========

[2026-05-11 21:32:43] [uninstall] TRASHED /Applications/Gemini.app (31214KB) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/.Gemini (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/Application Support/com.BZG.Gemini (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/Caches/com.BZG.Gemini (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/WebKit/com.BZG.Gemini (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/HTTPStorages/com.BZG.Gemini (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/HTTPStorages/com.BZG.Gemini.binarycookies (batch) [2026-05-11 21:32:43] [uninstall] TRASHED /Users/main/Library/Preferences/com.BZG.Gemini.plist (batch)

here is - ifconfig | grep -A2 "^utun" screen.txt

Christian-SC26 avatar May 11 '26 19:05 Christian-SC26

@Christian-SC26 thank you for checking again. Since you could not reproduce it on 1.38, the operations log only shows app-specific Pika/Unite/Gemini cleanup, and the utun snapshot stays stable, I am going to close this as not reproducible for now.

If it happens again, please reopen or file a new issue with the app removed, MO_DEBUG=1 mo uninstall logs, and before/after ifconfig | grep -A2 "^utun".

tw93 avatar May 12 '26 09:05 tw93

It looks like the VPN connection is definitely corrupted. The debug session also doesn't seem to be working properly, as the log file is empty. When I deleted the first app, the VPN disconnected. I then repeated the process with another app, started a debug session, and checked ifconfig before and after. Here are the results. The VPN disconnected once again

mole_debug_session.log screen.txt

Christian-SC26 avatar May 12 '26 17:05 Christian-SC26

And i try again with another application - and it is 3 times in a row - also disconnected VPN and empty debug log (And I can't reopen issue)

screen.txt mole_debug_session.log

Christian-SC26 avatar May 12 '26 17:05 Christian-SC26