Package: lintian Version: 2.39.0 Severity: normal Hi,
the latest version of systemd (v244) ship a udev rule file /lib/udev/rules.d/60-autosuspend-chromiumos.rules which triggers the lintian warning: W: udev: udev-rule-missing-subsystem lib/udev/rules.d/60-autosuspend-chromiumos.rules:100 vendor/product matching missing SUBSYSTEM specifier This seems to be a false positive, as the rules file does indeed check the SUBSYSTEM: ACTION!="add", GOTO="autosuspend_end" SUBSYSTEM!="i2c|pci|usb", GOTO="autosuspend_end" SUBSYSTEM=="i2c", GOTO="autosuspend_i2c" SUBSYSTEM=="pci", GOTO="autosuspend_pci" SUBSYSTEM=="usb", GOTO="autosuspend_usb" # I2C rules LABEL="autosuspend_i2c" ... GOTO="autosuspend_end" # PCI rules LABEL="autosuspend_pci" ... GOTO="autosuspend_end" # USB rules LABEL="autosuspend_usb" ... GOTO="autosuspend_end" ... LABEL="autosuspend_end" This udev rules and its use of labels and gotos is maybe a bit unconventional but totally valid. I think #894356 already tried to address this to some part but it fails for more complicated cases like this one. Tbh, I'm not sure how to fix this without lintian becoming a udev rules parsers which understands how those labels are resolved. Regards, Michael -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lintian depends on: ii binutils 2.33.1-4 ii bzip2 1.0.8-2 ii diffstat 1.63-1 ii dpkg 1.19.7 ii dpkg-dev 1.19.7 ii file 1:5.37-6 ii gettext 0.19.8.1-10 ii gpg 2.2.17-3 ii intltool-debian 0.35.0+20060710.5 ii libapt-pkg-perl 0.1.36+b2 ii libarchive-zip-perl 1.67-1 ii libberkeleydb-perl 0.62-1+b1 ii libcapture-tiny-perl 0.48-1 ii libcgi-pm-perl 4.44-1 ii libclass-accessor-perl 0.51-1 ii libclass-xsaccessor-perl 1.19-3+b3 ii libclone-perl 0.43-2 ii libdigest-sha-perl 6.02-1+b2 ii libdpkg-perl 1.19.7 ii libemail-valid-perl 1.202-1 ii libfile-basedir-perl 0.08-1 ii libfile-find-rule-perl 0.34-1 ii libio-async-loop-epoll-perl 0.20-1 ii libio-async-perl 0.75-1 ii libipc-run-perl 20180523.0-2 ii liblist-compare-perl 0.53-1 ii liblist-moreutils-perl 0.416-1+b5 ii libmldbm-perl 2.05-2 ii libmoo-perl 2.003006-1 ii libmoox-aliases-perl 0.001006-1 ii libnamespace-clean-perl 0.27-1 ii libpath-tiny-perl 0.108-1 ii libtext-levenshtein-perl 0.13-1 ii libtimedate-perl 2.3000-2 ii libtry-tiny-perl 0.30-1 ii libtype-tiny-perl 1.004004-1 ii liburi-perl 1.76-1 ii libxml-simple-perl 2.25-1 ii libyaml-libyaml-perl 0.80+repack-2+b1 ii man-db 2.9.0-1 ii patchutils 0.3.4-2+b1 ii perl [libdigest-sha-perl] 5.30.0-9 ii t1utils 1.41-3 ii xz-utils 5.2.4-1+b1 Versions of packages lintian recommends: ii libperlio-gzip-perl 0.19-1+b6 Versions of packages lintian suggests: pn binutils-multiarch <none> ii libhtml-parser-perl 3.72-3+b4 ii libtext-template-perl 1.58-1 -- no debconf information