usb attach failure #9605
Labels
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
R: duplicate
Resolution: Another issue exists that is very similar to or subsumes this one.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
How to file a helpful issue
Qubes OS release
4.2.3
Brief summary
Trying to pass a usb device (phone) to an app qube results in a pop up error that qubesd passed an empty response and this in the journalctl log.
Nov 25 14:23:36 dom0 qrexec-policy-daemon[2365]: qrexec: qubes.USB+4-3: phone-admin -> sys-usb: allowed to sys-usb
Nov 25 14:23:41 dom0 qubesd[2361]: unhandled exception while calling src=b'dom0' meth=b'admin.vm.device.usb.Attach' dest=b'phone-admin' arg=b'sys-usb+4-3' len(untrusted_payload)=0
Nov 25 14:23:41 dom0 qubesd[2361]: Traceback (most recent call last):
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubesusbproxy/core3ext.py", line 634, in on_device_attach_usb
Nov 25 14:23:41 dom0 qubesd[2361]: await vm.run_service_for_stdio('qubes.USBAttach',
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubes/vm/qubesvm.py", line 1596, in run_service_for_stdio
Nov 25 14:23:41 dom0 qubesd[2361]: raise subprocess.CalledProcessError(p.returncode,
Nov 25 14:23:41 dom0 qubesd[2361]: subprocess.CalledProcessError: Command 'qubes.USBAttach' returned non-zero exit status 1.
Nov 25 14:23:41 dom0 qubesd[2361]: During handling of the above exception, another exception occurred:
Nov 25 14:23:41 dom0 qubesd[2361]: Traceback (most recent call last):
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubes/api/init.py", line 297, in respond
Nov 25 14:23:41 dom0 qubesd[2361]: response = await self.mgmt.execute(
Nov 25 14:23:41 dom0 qubesd[2361]:
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubes/api/admin.py", line 1306, in vm_device_attach
Nov 25 14:23:41 dom0 qubesd[2361]: await self.dest.devices[devclass].attach(assignment)
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubes/devices.py", line 251, in attach
Nov 25 14:23:41 dom0 qubesd[2361]: await self._vm.fire_event_async('device-pre-attach:' + self._bus,
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubes/events.py", line 234, in fire_event_async
Nov 25 14:23:41 dom0 qubesd[2361]: effect = task.result()
Nov 25 14:23:41 dom0 qubesd[2361]: ^^^^^^^^^^^^^
Nov 25 14:23:41 dom0 qubesd[2361]: File "/usr/lib/python3.11/site-packages/qubesusbproxy/core3ext.py", line 648, in on_device_attach_usb
Nov 25 14:23:41 dom0 qubesd[2361]: sanitized_stderr = santizied_stderr[:-2] + "."
Nov 25 14:23:41 dom0 qubesd[2361]: ^^^^^^^^^^^^^^^^
Steps to reproduce
Expected behavior
device attaches
Actual behavior
doesn't attach, generates error above
The text was updated successfully, but these errors were encountered: