[DRBD-user] drbd-utils 8.9.1-3 drbd-udev rpm rules directory (redhat)

Roland Friedwagner roland.friedwagner at wu.ac.at
Mon Aug 11 09:28:12 CEST 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

at least since commit 7f6ba860ea2df31c6a4d6155405070ac9abfafbc
"build: fix udevdir detection if there is no pkg-config udevdir"
the build of drbd-udev package incorporates the rules file in
location /lib/udev. But the right location is|was /etc/udev/rules.d.

At least on redhat the location derived by pkg-config is defined
in libudev-devel package by /usr/share/pkgconfig/udev.pc and is 
/lib/udev. But there are only udev itself specific rules located.

As a workaround without patching drbd-utils source I created at udev.pc
with udevdir=/etc/udev/rules.d and start the build process with
PKG_CONFIG_PATH set to my udev.pc location.

Does anyone have a better fix for this issue?

Kind Regards,
Roland

-- 
Roland.Friedwagner at wu.ac.at            Phone: +43 1 31336 5377
IT Services - WU (Vienna University of Economics and Business) 



More information about the drbd-user mailing list