The hplip udev rules have been written like this on purpose, at least
for the /etc/udev/rules.d/55-hpmud.rules , where you can read:

(quote)
"It seems SFSFS has been replaced or depreciated by ATTR/ATTRS, but I continue 
to use SFSFS in order to be compatible with older distros. SFSFS was defined in 
"Writing udev rules" Ver 0.72, Daniel Drake. 2/11/2009, D Suffield" (...)
This rules file is an attempt at being compatable with all distros. Feel free 
to make your own changes and if you feel your changes are not distro specific 
please send your patch to us. 2/11/2009, D Suffield"
(end of quote).

The 55-hpmud.rules and the 56-hpmud_support.rules files both belong to
hplip , but for whatever reason the explanations above are only included
in the 55-hpmud.rules file only.

In my case, (Ubuntu Lucid, upgraded from Karmic just a couple of weeks ago) I 
have the same warning errors as you but referring to the following files:
/etc/udev/rules.d/55-hpmud.rules    (hplip)
/etc/udev/rules.d/56-hpmud_support.rules    (hplip)
/etc/udev/rules.d/65-libmtp.rules
/etc/udev/rules.d/45-libnjb5.rules
and
/etc/udev/rules.d/025_logitechmouse.rules

While those warnings do look ugly, the are harmless.   If you want to get rid 
of those, you just need to edit the offending files and replace all the 
occurrences of SYSFS by ATTR  .  ( Make sure you backup first whichever file 
you are editing ! ). Then you may want, as a precaution, to reconfigure the 
udev package by running (as root)
dpkg-reconfigure udev 

However, you should be aware that if you choose to edit your .rules
files to get rid of the warnings, you are accepting that the next time
you make an upgrade to the next Ubuntu version (e.g. 10.10 ), then you
will have the very annoying (at least annoying to me) task of having to
answer questions during the upgrade, regarding the changes that you have
made in your files.

If you want my advice, here it is: if we are talking about Ubuntu
packages maintained by the Ubuntu team, I would say that it is best to
leave them as they are, because whenever those rules become obsolete and
break the packages, the maintainers are going to have to fix them
anyway, so when you upgrade, the work should have been done for you; no
questions for you to answer during the upgrade.

One reference that might be useful:
http://reactivated.net/writing_udev_rules.html
As of today, it contains the v0.74, by Daniel Drake.

-- 
deprecation warning in boot.log every startup after plugging in HP printer
https://bugs.launchpad.net/bugs/653877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to