[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695057: udev's custom persistent-storage rules should not call dasd_id



Package: udev
Version: 175-7
Severity: normal

Hi,

udev in Debian currently ships with custom persistent-storage rules that
also contain a snippet about s390's DASDs in debian/patches/debian_rules:

+KERNEL=="dasd*", \
+       IMPORT{program}="dasd_id --export $tempnode"

dasd_id is no longer shipped by s390-tools. Instead the package now
provides its own rules using dasdinfo:

 # by-id (hardware serial number)
 KERNEL=="dasd*[!0-9]", IMPORT{program}="/sbin/dasdinfo -a -e -b $kernel"
 KERNEL=="dasd*[!0-9]", ENV{ID_SERIAL}=="?*",
 SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
 KERNEL=="dasd*[0-9]", ENV{ID_SERIAL}=="?*",
 SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
 KERNEL=="dasd*[!0-9]", ENV{ID_UID}=="?*",
 SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_UID}"
 KERNEL=="dasd*[0-9]", ENV{ID_UID}=="?*",
 SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_UID}-part%n"
 
Could you please drop the above two lines, preferably for wheezy?
Currently it produces spurious warnings during the boot process about
dasd_id not being found.

Kind regards and thanks in advance
Philipp Kern


Reply to: