[Cluster-devel] dlm: master - libdlm: install udev rules in /etc not /lib

Fabio M. Di Nitto fdinitto at redhat.com
Tue Jan 17 18:51:34 UTC 2012


David,

this is incorrect.

/lib/udev/rules.d is used for packages that ship rules (such as dlm)
/etC/udev/rules.d are for users override and packages should not add
anything there.

You might notice on any recent system that /etc/udev/rules.d is
virtually empty and /lib/udev/rules.d is populated by files shipped by
packages.

Fabio

On 01/17/2012 04:34 PM, David Teigland wrote:
> Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=fa5c61199f8b6acd083e3f902e8ce99cfa3a586a
> Commit:        fa5c61199f8b6acd083e3f902e8ce99cfa3a586a
> Parent:        29703f020b15840ede1b9f9b5e04faafc2e69737
> Author:        David Teigland <teigland at redhat.com>
> AuthorDate:    Tue Jan 17 09:20:56 2012 -0600
> Committer:     David Teigland <teigland at redhat.com>
> CommitterDate: Tue Jan 17 09:20:56 2012 -0600
> 
> libdlm: install udev rules in /etc not /lib
> 
> Signed-off-by: David Teigland <teigland at redhat.com>
> ---
>  libdlm/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libdlm/Makefile b/libdlm/Makefile
> index 185d9c2..69fc84e 100644
> --- a/libdlm/Makefile
> +++ b/libdlm/Makefile
> @@ -5,7 +5,7 @@ LIBDIR=$(PREFIX)/$(LIBNUM)
>  HDRDIR=$(PREFIX)/include 
>  MANDIR=$(PREFIX)/share/man
>  PKGDIR=$(PREFIX)/$(LIBNUM)/pkgconfig
> -UDEVDIR=/lib/udev/rules.d
> +UDEVDIR=/etc/udev/rules.d
>  
>  LIB_NAME = libdlm
>  LIB_MAJOR = 3
> _______________________________________________
> cluster-commits mailing list
> cluster-commits at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cluster-commits




More information about the Cluster-devel mailing list