Page MenuHomeVyOS Platform

The tech support script fails on machines without a USB controller
Open, LowPublic

Description

lsusb returns a non-zero exit code if it cannot find any USB controllers in the system. That is nearly impossible on modern bare-metal machines, but can happen in VMs — if USB controllers are disabled in the settings, generating tech support reports on those VM fails because trying to execute lsusb to get USB devices leads to OSError.

The same consideration will apply to all future uses of lsusb but right now the tech support script is the only one.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)