Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309787 - sys-power/nut-2.4.1-r1 should remove SYSFS calls ASAP.
Summary: sys-power/nut-2.4.1-r1 should remove SYSFS calls ASAP.
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 330137 (view as bug list)
Depends on: 313883
Blocks:
  Show dependency tree
 
Reported: 2010-03-16 15:39 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-07-28 01:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-03-16 15:39:34 UTC
During boot I have messages about /etc/udev/rules.d/70-nut-usbups.rules doing SYSFS calls. Because is coming udev changes, we now have a warning about this. When udev will switch, it will become an error. Other scripts in /etc/udev/rules.d/ are fine:

55-usbirboy.rules 64-md-raid.rules 70-bluetooth-pcmcia.rules 70-libgphoto2.rules 70-persistent-cd.rules 90-hal.rules xen-backend.rules 64-device-mapper.rules 65-mtp.rules 70-bluetooth.rules 70-nut-usbups.rules 70-persistent-net.rules 99-fuse.rules xend.rules

Please update Nut.

Sorry for being vague, but as it's an early boot message, it's hard to catch, and copy.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-03-16 16:01:33 UTC
Luckily, the message is in var:

Mar 16 16:10:42 uranus udevd[2027]: 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 /etc/udev/rules.d/70-nut-usbups.rules:10
Mar 16 16:10:42 uranus udevd[2027]: 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 /etc/udev/rules.d/70-nut-usbups.rules:14
Mar 16 16:10:42 uranus udevd[2027]: 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 /etc/udev/rules.d/70-nut-usbups.rules:18
[...]
Mar 16 16:10:42 uranus udevd[2027]: 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 /etc/udev/rules.d/70-nut-usbups.rules:88
Mar 16 16:10:42 uranus udevd[2027]: 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 /etc/udev/rules.d/70-nut-usbups.rules:90

Comment 2 Kjell Claesson 2010-03-16 16:23:14 UTC
The best way to handle this bug is to bump the version of nut to 2.4.3.
It been released for about 4 weeks ago.
That version include a new rules file. Then it is best to depricate
the versions <= 2.4.1 as it is not supported upstream.
 
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-05-02 22:51:10 UTC
2.4.3 with a fix now in CVS.
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2010-05-25 08:11:20 UTC
I could not read all messages in first place; now I see an other one (hand copy)
BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match parent device, in /etc/udev/rules.d/70-nut-usbups.rules:6
Comment 5 Kirill Elagin 2010-05-25 13:47:57 UTC
See http://bugs.gentoo.org/show_bug.cgi?id=296788

The solution is posted there. You need to apply this patch: http://bugs.gentoo.org/attachment.cgi?id=220691&action=view
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-28 01:37:28 UTC
*** Bug 330137 has been marked as a duplicate of this bug. ***