Bug 44507 - udev rules should be in /lib
Summary: udev rules should be in /lib
Status: RESOLVED FIXED
Alias: None
Product: libfprint
Classification: Unclassified
Component: libfprint (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 12:57 UTC by Benedikt Morbach
Modified: 2012-01-06 04:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The _really_ simple patch (966 bytes, patch)
2012-01-05 12:57 UTC, Benedikt Morbach
Details | Splinter Review

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.