Source: hw-detect
Version: 1.164
Severity: normal
Tags: patch
X-Debbugs-Cc: p...@hands.com
User: debian...@lists.debian.org
Usertags: openqa

Hello maintainers of ethdetect,

When a description of a network kernel module uses the same separator as cdebconf uses, the selection code behaves erratic, since it assumes a new entry, while it is actually an entry with a longer description.

Occasionally this results in a hanging 'Detect network hardware' screen, see e.g. https://openqa.debian.net/tests/333924#step/hostname/2, or in the error message 'E: Unimplemented function' from cdebconf: https://sources.debian.org/src/cdebconf/0.274/src/confmodule.c/?hl=72#L72

Test scenario: a GNOME live image, based on sid, tested in QEMU without network adapter (since missing network devices trigger this screen in d-i)

The offending module is 'zaurus': "Sharp Zaurus PDA, and compatible products" (as automatically extracted by modinfo 2>/dev/null -F description zaurus, see https://sources.debian.org/src/hw-detect/1.164/ethdetect.sh/?hl=75#L75)

A patch is available at Salsa:
https://salsa.debian.org/installer-team/hw-detect/-/merge_requests/11

In the MR I've also re-enabled the descriptions for the compressed kernel modules.

I've tested the new version of ethdetect with a customised build of a live image.

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to