FS#18007 - [libnjb] Replace SYSFS with ATTRS in udev rules

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Tuesday, 26 January 2010, 00:52 GMT
Last edited by Ionut Biru (wonder) - Friday, 29 January 2010, 13:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: with current udev version will see a deprecation warning:

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

http://repos.archlinux.org/wsvn/packages/libnjb/trunk/45-libnjb.rules

* Solution:
sed -i "s|SYSFS|ATTRS|g" 45-libnjb.rules

* Also can add ACL support (via optional consolekit) with
sed -i 's|\(MODE="0660"\)|\1, ENV{ACL_MANAGE}="1"|g' 45-libnjb.rules

so all users logged via console, does not need to be assigned to "storage" group.

Additional info:
libnjb-2.2.6-1
This task depends upon

Closed by  Ionut Biru (wonder)
Friday, 29 January 2010, 13:00 GMT
Reason for closing:  Fixed

Loading...