Annoying warnings from udev at boot

Packages that have been removed from the system, but not purged, leave config-files that will never be updated. If such files are part of a moving framework such as udev rules, the will eventually turn out obsolete and/or cause warnings.

A warning - at boot-time - like below indicates obsolete udev-rules in /etc/udev/rules.d

SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in ...

Finding the obsolete rules

grep -R SYSFS /etc/udev/rules.d/
/etc/udev/rules.d/025_libchipcard.rules:SYSFS{idVendor}=="0c4b", SYSFS{idProduct}=="0100", GROUP="chipcard"
/etc/udev/rules.d/025_libchipcard.rules:SYSFS{idVendor}=="0c4b", SYSFS{idProduct}=="0300", GROUP="chipcard"
/etc/udev/rules.d/025_libchipcard.rules:SYSFS{idVendor}=="0c4b", SYSFS{idProduct}=="0400", GROUP="chipcard"
[...]

Removing them

rm /etc/udev/rules.d/025_libchipcard.rules

comments powered by Disqus


Back to the index

Blog roll

R-bloggers, Debian Weekly
Valid XHTML 1.0 Strict [Valid RSS] Valid CSS! Emacs Muse Last modified: oktober 17, 2019