mbox series

[SRU,Jammy/Lunar/Mantic,0/1] usbip: error: failed to open /usr/share/hwdata//usb.ids (LP: #2039439)

Message ID 20231017115221.78484-1-juerg.haefliger@canonical.com
Headers show
Series usbip: error: failed to open /usr/share/hwdata//usb.ids (LP: #2039439) | expand

Message

Juerg Haefliger Oct. 17, 2023, 11:52 a.m. UTC
[Impact]

usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which is provided by the hwdata package which is not installed by default.

$ usbip list -l
usbip: error: failed to open /usr/share/hwdata//usb.ids
 - busid 1-1.1.1 (0424:7800)
   unknown vendor : unknown product (0424:7800)

[Test Case]

$ apt install linux-tools-<flavor>
$ usbip list -l
 - busid 1-1.1.1 (0424:7800)
   Microchip Technology, Inc. (formerly SMSC) : unknown product (0424:7800)

[Fix]

Make hwdata a dependency of linux-tools-common.

[Regression Potential]

A trivial package (hwdata) is installed as a dependency. Can't think of any problems this could cause other than a theoretical package installation failure.

Juerg Haefliger (1):
  UBUNTU: [Packaging] Make linux-tools-common depend on hwdata

 debian.master/control.stub.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tim Gardner Oct. 17, 2023, 1:02 p.m. UTC | #1
On 10/17/23 5:52 AM, Juerg Haefliger wrote:
> [Impact]
> 
> usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which is provided by the hwdata package which is not installed by default.
> 
> $ usbip list -l
> usbip: error: failed to open /usr/share/hwdata//usb.ids
>   - busid 1-1.1.1 (0424:7800)
>     unknown vendor : unknown product (0424:7800)
> 
> [Test Case]
> 
> $ apt install linux-tools-<flavor>
> $ usbip list -l
>   - busid 1-1.1.1 (0424:7800)
>     Microchip Technology, Inc. (formerly SMSC) : unknown product (0424:7800)
> 
> [Fix]
> 
> Make hwdata a dependency of linux-tools-common.
> 
> [Regression Potential]
> 
> A trivial package (hwdata) is installed as a dependency. Can't think of any problems this could cause other than a theoretical package installation failure.
> 
> Juerg Haefliger (1):
>    UBUNTU: [Packaging] Make linux-tools-common depend on hwdata
> 
>   debian.master/control.stub.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Tim Gardner Oct. 17, 2023, 1:03 p.m. UTC | #2
On 10/17/23 7:02 AM, Tim Gardner wrote:
> On 10/17/23 5:52 AM, Juerg Haefliger wrote:
>> [Impact]
>>
>> usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which 
>> is provided by the hwdata package which is not installed by default.
>>
>> $ usbip list -l
>> usbip: error: failed to open /usr/share/hwdata//usb.ids
>>   - busid 1-1.1.1 (0424:7800)
>>     unknown vendor : unknown product (0424:7800)
>>
>> [Test Case]
>>
>> $ apt install linux-tools-<flavor>
>> $ usbip list -l
>>   - busid 1-1.1.1 (0424:7800)
>>     Microchip Technology, Inc. (formerly SMSC) : unknown product 
>> (0424:7800)
>>
>> [Fix]
>>
>> Make hwdata a dependency of linux-tools-common.
>>
>> [Regression Potential]
>>
>> A trivial package (hwdata) is installed as a dependency. Can't think 
>> of any problems this could cause other than a theoretical package 
>> installation failure.
>>
>> Juerg Haefliger (1):
>>    UBUNTU: [Packaging] Make linux-tools-common depend on hwdata
>>
>>   debian.master/control.stub.in | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
> Acked-by: Tim Gardner <tim.gardner@canonical.com>

Forgot to mention your BugLink is corrupted.
Stefan Bader Oct. 19, 2023, 7:55 a.m. UTC | #3
On 17.10.23 13:52, Juerg Haefliger wrote:
> [Impact]
> 
> usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which is provided by the hwdata package which is not installed by default.
> 
> $ usbip list -l
> usbip: error: failed to open /usr/share/hwdata//usb.ids
>   - busid 1-1.1.1 (0424:7800)
>     unknown vendor : unknown product (0424:7800)
> 
> [Test Case]
> 
> $ apt install linux-tools-<flavor>
> $ usbip list -l
>   - busid 1-1.1.1 (0424:7800)
>     Microchip Technology, Inc. (formerly SMSC) : unknown product (0424:7800)
> 
> [Fix]
> 
> Make hwdata a dependency of linux-tools-common.
> 
> [Regression Potential]
> 
> A trivial package (hwdata) is installed as a dependency. Can't think of any problems this could cause other than a theoretical package installation failure.
> 
> Juerg Haefliger (1):
>    UBUNTU: [Packaging] Make linux-tools-common depend on hwdata
> 
>   debian.master/control.stub.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

As Tim already mentioned, the bug reference is corrupted but that can be 
fixed when applying. Apart from that I am copying Andrea for awareness 
and that we do not accidentally drop this in NN.

Acked-by: Stefan Bader <stefan.bader@canonical.com>
Stefan Bader Oct. 25, 2023, 2:57 p.m. UTC | #4
On 17.10.23 13:52, Juerg Haefliger wrote:
> [Impact]
> 
> usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which is provided by the hwdata package which is not installed by default.
> 
> $ usbip list -l
> usbip: error: failed to open /usr/share/hwdata//usb.ids
>   - busid 1-1.1.1 (0424:7800)
>     unknown vendor : unknown product (0424:7800)
> 
> [Test Case]
> 
> $ apt install linux-tools-<flavor>
> $ usbip list -l
>   - busid 1-1.1.1 (0424:7800)
>     Microchip Technology, Inc. (formerly SMSC) : unknown product (0424:7800)
> 
> [Fix]
> 
> Make hwdata a dependency of linux-tools-common.
> 
> [Regression Potential]
> 
> A trivial package (hwdata) is installed as a dependency. Can't think of any problems this could cause other than a theoretical package installation failure.
> 
> Juerg Haefliger (1):
>    UBUNTU: [Packaging] Make linux-tools-common depend on hwdata
> 
>   debian.master/control.stub.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied to mantic,lunar,jammy:linux/master-next with fixed up BugLink. 
Thanks.

-Stefan