Bug#872598: udev-udeb: no input in graphical installer

Raphael Hertzog hertzog at debian.org
Sat Aug 19 09:14:55 BST 2017


Hello,

On Sat, 19 Aug 2017, Cyril Brulebois wrote:
> I've only quickly glanced at the contents of both packages, and debdiff
> mentions no obvious issues (file lists are the same).

I believe this is precisely the problem. The new udev-udeb should
include a new file:
diff --git a/debian/udev-udeb.install b/debian/udev-udeb.install
index 6a8e2108f..6758fef06 100644
--- a/debian/udev-udeb.install
+++ b/debian/udev-udeb.install
@@ -5,6 +5,7 @@ lib/udev/ata_id
 lib/udev/scsi_id
 lib/udev/cdrom_id
 lib/udev/rules.d/50-udev-default.rules
+lib/udev/rules.d/60-input-id.rules
 lib/udev/rules.d/60-cdrom_id.rules
 lib/udev/rules.d/60-persistent-input.rules
 lib/udev/rules.d/60-persistent-storage.rules

I won't have the time to test this now but I believe it's the problem.
I see this in the upstream change between both versions:
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules.in
@@ -11,7 +11,6 @@ SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
 SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"
 
 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsyste
m=usb"
-SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
 ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
 
 ACTION!="add", GOTO="default_end"
[...]
--- /dev/null
+++ b/rules/60-input-id.rules
@@ -0,0 +1,7 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION=="remove", GOTO="id_input_end"
+
+SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
+
+LABEL="id_input_end"

It would be nice to have a fixed udev soon. Thank you Cyril for the
investigation!

I wonder if it would be possible to have autopkgtest tests covering
udev-udeb...

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/




More information about the Pkg-systemd-maintainers mailing list