Replace deprecated SYSFS with ATTRS at udev rules

Bug #346390 reported by yarodin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Won't Fix
Undecided
Unassigned
hplip (Debian)
Fix Released
Unknown

Bug Description

sed -i -e "s:SYSFS:ATTRS:g" data/rules/71-hpmud_support.rules

and same to all udev rules at plugins.

Revision history for this message
David Suffield (david-suffield) wrote :

For backward compatibility with older distros using udev we use SYSFS instead of ATTRS.

-dave

Changed in hplip:
assignee: nobody → kalosaurusrex
status: New → Won't Fix
Revision history for this message
Mark Purcell (msp) wrote :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559289

From: Michael Biebl <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: /lib/udev/rules.d/56-hpmud_support.rules: udev warnings: SYSFS{}= will be
 removed in a future udev version...
Date: Thu, 03 Dec 2009 12:28:06 +0100

Package: hplip
Version: 3.9.10-2
Severity: normal
File: /lib/udev/rules.d/56-hpmud_support.rules

Hi,

since the latest update of udev to 148-1 I get those messages during
boot:

udevd[8055]: 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

Cheers,
Michael

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip depends on:
ii adduser 3.111 add and remove users and groups
ii coreutils 8.1-1 GNU core utilities
ii cups 1.4.2-4 Common UNIX Printing System(tm) -
ii cups-client 1.4.2-4 Common UNIX Printing System(tm) -
ii hplip-data 3.9.10-2 HP Linux Printing and Imaging - da
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libcups2 1.4.2-4 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libsane 1.0.20-9 API library for scanners
ii libsnmp15 5.4.2.1~dfsg-3 SNMP (Simple Network Management Pr
ii libssl0.9.8 0.9.8k-7 SSL shared libraries
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii policykit-1 0.95-1 framework for managing administrat
ii python 2.5.4-2 An interactive high-level object-o
ii python-dbus 0.83.0-1 simple interprocess messaging syst
ii python-imaging 1.1.7-1 Python Imaging Library
ii python-pexpect 2.3-1 Python module for automating inter

Versions of packages hplip recommends:
ii hplip-cups 3.9.10-2 HP Linux Printing and Imaging - CU
pn sane-utils <none> (no description available)

Versions of packages hplip suggests:
pn hplip-doc <none> (no description available)
pn hplip-gui <none> (no description available)
pn kdeprint | gtklp | xpp <none> (no description available)
ii openprinting-ppds 20090616-1 OpenPrinting printer support - Pos

-- no debconf information

Changed in hplip (Debian):
status: Unknown → Confirmed
Changed in hplip (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.