qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

Missing newline in qvm-usb timeout output

Open strugee opened this issue 5 years ago • 6 comments

Qubes OS version:

R4.0

Affected component(s) or functionality:

qvm-usb


Steps to reproduce the behavior:

  1. Run qvm-usb attach <domain> <device> in some situation that will cause an attach timeout (in my case this is a separate bug that I'll report shortly)
  2. Wait a few seconds

Expected or desired behavior:

This error is printed:

Device attach failed: /usr/lib/qubes/usb-import: 94: echo: echo: I/O error
Attach timeout, check kernel log for details. VM: "steevie-cloud" File: "/usr/lib/qubes/usb-import" Version Control: https://github.com/QubesOS/qubes-app-linux-usb-proxy/blob/master/src/usb-import

Maybe without the echo: echo: too, I'm a little confused as to where those are coming from?

Actual behavior:

This is printed:

Device attach failed: /usr/lib/qubes/usb-import: 94: echo: echo: I/O errorAttach timeout, check kernel log for details. VM: "steevie-cloud" File: "/usr/lib/qubes/usb-import" Version Control: https://github.com/QubesOS/qubes-app-linux-usb-proxy/blob/master/src/usb-import

Notice the newline which is missing in between "I/O error" and "Attach timeout".

General notes:

[dom0] $ dnf info qubes-usb-proxy-dom0 | grep Version
Version     : 1.0.27

I have consulted the following relevant documentation:

None

I am aware of the following related, non-duplicate issues:

None

strugee avatar Mar 02 '20 21:03 strugee