udev breaks compatibility with multipath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Ubuntu) |
Fix Released
|
Medium
|
Soren Hansen | ||
Intrepid |
Fix Released
|
Undecided
|
Mathias Gug | ||
udev (Debian) |
Fix Released
|
Unknown
|
|||
udev (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned |
Bug Description
options for /lib/udev/scsi_id have changed without backwards compatibility.
# multipath
/lib/udev/scsi_id: invalid option -- 's'
error calling out /lib/udev/scsi_id -g -u -s /block/sda
/lib/udev/scsi_id: invalid option -- 's'
error calling out /lib/udev/scsi_id -g -u -s /block/sdb
/lib/udev/scsi_id: invalid option -- 's'
error calling out /lib/udev/scsi_id -g -u -s /block/sdc
/lib/udev/scsi_id: invalid option -- 's'
error calling out /lib/udev/scsi_id -g -u -s /block/sdd
/lib/udev/scsi_id: invalid option -- 's'
error calling out /lib/udev/scsi_id -g -u -s /block/sde
multipath-
udev=124-9
# uname -a
Linux file01 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
# lsb_release -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
==========
Intrepid SRU
Impact of the bug:
multipath uses /lib/udev/scsi_id to obtain a unique path identifier. However the options of scsi_id have changed. Thus multipath doesn't work as expected.
How the bug has been addressed:
The options used to call scsi_id have been updated.
TEST CASE:
Potential regression:
This patch fixes the default call which wasn't working before. Users that implemented the workaround in their configuration file shouldn't see any changes.
Changed in multipath-tools: | |
assignee: | nobody → soren |
importance: | Undecided → Medium |
status: | New → Confirmed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in udev (Debian): | |
status: | Unknown → Fix Released |
Binaries in /lib/udev do not have a stable API intended for other processes.