Bug 44507

Summary: udev rules should be in /lib
Product: libfprint Reporter: Benedikt Morbach <moben>
Component: libfprintAssignee: libfprint-bugs
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: The _really_ simple patch

Description Benedikt Morbach 2012-01-05 12:57:11 UTC
Created attachment 55191 [details] [review]
The _really_ simple patch

The udev rules should be installed to $(libdir) instead of of $(sysconfdir).

This is upstream udev policy and most packages follow it.
If a user wants to make a change to a file, he should copy it to /etc/udev….
This also ensures that his changes don't get overwritten by package updates.

That way /etc/udev only contains user configuration that won't be overwritten.

Very simple patch attached.
Comment 1 Bastien Nocera 2012-01-06 04:14:57 UTC
commit c96fa32da4a3d93950039fdc176571376dafc8cb
Author: Benedikt Morbach <benedikt.morbach@googlemail.com>
Date:   Thu Jan 5 21:49:13 2012 +0100

    Move udev rules to libdir
    
    This moves the dir from /etc/udev/rules.d to /lib/udev/rules.d,
    which is encouraged by upstream, as /etc is for user overrides only
    
    https://bugs.freedesktop.org/show_bug.cgi?id=44507

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.