Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168588 - >=sys-fs/multipath-tools-0.4.8-r1: should search udev helper scsi_id from /lib/udev instead of /sbin
Summary: >=sys-fs/multipath-tools-0.4.8-r1: should search udev helper scsi_id from /li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 468466 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-27 15:32 UTC by Chris Allan
Modified: 2013-05-03 16:07 UTC (History)
2 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 Chris Allan 2007-02-27 15:32:36 UTC
It would appear that udev has changed the locations of its binaries to /lib/udev/. This breaks multipath-tools as it expects the scsi_id and vol_id binaries to be in /sbin (where they were before). The current version of multipath-tools is basically unusable with the current udev versions with out manual hacking of /etc/multipath.conf.

Some information as to how a Slackware user has been handling this are here:

http://piterpunk.info02.com.br/extra/

Relevant excerpts are as follows:

 * Added a /sbin/scsi_id to /lib/udev/scsi_id symlink. This is needed to multipath.
 * Link /lib/udev/vol_id to /sbin/vol_id, vol_id is used by multipath, and need to be public

The rationale for moving the binaries to /lib/udev is certainly beyond my knowledge of recent udev development but it would appear that simply making the symlinks in the udev package is an option. Of course, modifying the multipath package would also work.

Reproducible: Always
Comment 1 Matthias Schwarzott gentoo-dev 2007-02-27 19:01:15 UTC
@base-system:
What do you think is the solution? linking these progs to /sbin?

I do not know since what udev-version that has been in /lib/udev.
Comment 2 SpanKY gentoo-dev 2007-02-27 19:54:01 UTC
depends on what upstream typically does and/or other distros ...
Comment 3 Matthias Schwarzott gentoo-dev 2007-03-13 19:02:31 UTC
As other distros do the same:
Added vol_id and scsi_id symlinks to /sbin in udev-106-r3.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-05-03 15:54:52 UTC
Reopening bug.

(In reply to comment #3)
> As other distros do the same:
> Added vol_id and scsi_id symlinks to /sbin in udev-106-r3.

These compability symlinks are gone with current udev's in the tree. I don't think we should be adding them back anymore.
Instead multipath-tools should be fixed.
The helpers live in `pkg-config --variable=udevdir udev` (udev.eclass and get_udevdir can be used)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-05-03 15:55:21 UTC
*** Bug 468466 has been marked as a duplicate of this bug. ***
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-05-03 16:00:07 UTC
Looks like this is fixed in multipath-tools-0.4.9 already as it uses /lib/udev/scsi_id instead of /sbin/scsi_id everywhere.