udevd : SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device

If you are using Debian testing, a recent update of the udev package has brought error messages like this one :

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 /lib/udev/rules.d/56-hpmud_support.rules:10

In the file /lib/udev/rules.d/56-hpmud_support.rules, you just have to replace at line 10
all the occurrences of SYSFS by ATTR.
As a precaution, reconfigure the udev package :

root@localhost:~# dpkg-reconfigure udev
update-initramfs: Generating /boot/initrd.img-2.6.30-2-686

Relaunch the udevd daemon :

root@localhost:~# service udev restart

or

root@localhost:~# /etc/init.d/udev restart

Advertisements

16 thoughts on “udevd : SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device

  1. Are you running Debian as well?
    What does the file libnjb.rules deal with? Which device(s)?
    I do not have this file by default.

  2. Yes, Debian unstable. As far as I can see, the file deals with various Creative media players. It belongs to libnjb5, which is a dependency of Gnomad 2. I sometimes use this to manage my Creative Zen.

  3. sed “:a;s/SYSFS{/ATTR{/;ta” -i /etc/udev/rules.d/*
    Should do the trick at once. Do not forget to backup your files first! You never know…

  4. Thanks Willi, i had this issue after going from Lenny to Sid on a play box, cept it was in several files… sed… regex… i REALLY need to learn these 😛

  5. It is not always the same file, to know which file to edit in a terminal enter:
    cat / var / log / boot.log

    And see the boot message with the wrong files

    Thanks for the tip!!

  6. i do not know how to replace sysfs to attr…what is the step by step?i do not know how to write rules. i am not a programmer. hope you can help me. thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s