com.apple.rpmux seems to be broken on my Mac OS Monterey install

Hi all,

I'm having problems capturing network traffic from my iOS devices (rvictl). I can execute the rvictl -s command, but no virtual interface is created. Some investigation leads to the the possibility that the rpmux service seems to be broken.

$ sudo launchctl list com.apple.rpmux
-> Could not find service "com.apple.rpmux" in domain for system

$ sudo launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.rpmuxd.plist
-> Load failed: 37: Operation already in progress

Reboots, unloads and loads did not fix this issue. Experiencing this problem since my recent upgrade to MacOS Monterey 12.1. Has anyone had the same issues? Or can someone tell me how to fix this?

What does this print:

% sudo launchctl list | grep rpmuxd                                       
-	0	com.apple.rpmuxd

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Just found the error in checking the rpmuxd (missed a d)

sudo launchctl list com.apple.rpmuxd { "LimitLoadToSessionType" = "System"; "MachServices" = { "com.apple.rpmuxd" = mach-port-object; }; "Label" = "com.apple.rpmuxd"; "OnDemand" = true; "LastExitStatus" = 0; "Program" = "/Library/Apple/usr/libexec/rpmuxd"; "ProgramArguments" = ( "/Library/Apple/usr/libexec/rpmuxd"; ); };

So, rpmuxd seems to be oke, but still I'm not able to start a virtual adapter:

rvictl -l                                                                                   Could not get list of devices

Yes this returns

Did it also print the leading dash (-)?

The two leading columns here are:

  • Process ID (pid) of the daemon, if it’s running, or a dash otherwise.

  • Last exit status of the daemon.

For example:

% sudo launchctl list | grep rpmuxd                                       
-       0       com.apple.rpmuxd

means that the daemon is not running and last exited successfully (or has never exited), whereas this:

% sudo launchctl list | grep rpmuxd   
42082	0       com.apple.rpmuxd

means that the daemon is running as pid 42082

Regardless, this is working for me:

% rvictl -l

Could not get list of devices

% rvictl -s 00008030-001544522E60802E

Starting device 00008030-001544522E60802E [SUCCEEDED] with interface rvi0

% rvictl -l       

Current Active Devices:

	[1] 00008030-001544522E60802E with interface rvi0

This is on macOS 12.1 with Xcode 13.2.1 installed targeting an iPhone 11 running iOS 15.0 (clearly I need to update my ‘victim’ phone at some point :-).

I’m running on Intel. Are you likewise? Or is this Apple silicon?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

com.apple.rpmux seems to be broken on my Mac OS Monterey install
 
 
Q