zfsonlinux/zfs — Issue #424: zvol error with latest git tree on RHEL5.x due to udev rules location moved
Author: fajarnugraha
Created: 2011-10-20 05:20:18+00:00
State: open

RHEL5's udev-095-14.27.el5 only puts and read rules in /etc/udev/rules.d, and helper programs in /lib/udev

I'm building zfs from latest git tree (commit 3bb1ac6) and found a problem with udev rules. Commit 12d06bac moves rules dir unconditionally to /lib/udev/rules.d, which makes zfs-related rules broken (including zvol). zvol symlinks are no longer created.

The commit also introduce --with-udevruledir, but that doesn't work (or at least doesn't get passed to configure script in RPM), plus the spec file hardcodes %define _udevdir /lib/udev

Not sure what the best fix is for this.