Fix hard coded path in 60-vdev.rules.in
authorRichard Yao <ryao@cs.stonybrook.edu>
Mon, 12 Nov 2012 17:34:45 +0000 (12:34 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 13 Nov 2012 20:04:15 +0000 (12:04 -0800)
commit2af96a5df53cfc281dc5c5f72eac5bb2b1739733
treea1fbce82b36c31f22f7f0f4747b96a52e1a93782
parent4c837f0d931546e656b832caf11b8d4c2063d905
Fix hard coded path in 60-vdev.rules.in

The udev data directory was hard coded in 60-vdev.rules.in. That causes
a problem when a distribution changes the location of the directory.
This was not an issue in the past because virtually all distributions
used the same path, but that is beginning to change following a decision
by the systemd developers to change the directory location to reflect
their take-over of udev maintainership. The testing branch of Gentoo
Linux adopted this change, which enabled the hardcoded directory
location to trigger a regression.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1085
udev/rules.d/60-vdev.rules.in
udev/rules.d/60-zpool.rules.in