On Wed, 2012-03-21 at 20:31 -0400, Scott Talbert wrote:
> On Wed, 21 Mar 2012, Phil Dibowitz wrote:
> 
> > On 03/21/2012 09:14 AM, Adam Williamson wrote:
> >> which supports /lib/udev.
> >
> > Looks good to me.
> 
> And here's the (hopefully final) version of the DHCPD patch:
> http://www.techie.net/~talbert/start_conc_v5.patch
> 
> Something else we may want to consider is changing where the udev rules 
> file itself get installed in the Makefile.  The Makefile installs 
> it into /etc but /lib seems to be the standard now.  I checked on the 
> packaging for both Ubuntu and Fedora and they both move the file from /etc 
> to /lib.  So, if we changed it, they would have to remove the 
> functionality that tries to move it.  But we can probably leave it as-is 
> for now.

That's easy enough for us to do. Generally speaking, we (downstreams)
would much rather our changes get taken upstream than have to carry them
downstream forever more :)

The theory behind this, btw, is that udev rules files deployed by system
components are not configuration files, because if you want to change
the behaviour, you're not supposed to go and edit the rules file
provided by the app.

So the idea is that packaged rules files go to /lib/udev/rules.d and are
owned by the system. If you want to change the behaviour, you can create
an identically-named file in /etc/udev/rules.d; this will take
precedence over the one in /lib. As the man page puts it:

Rules files
    The udev rules are read from the files located in the system rules
    directory /lib/udev/rules.d, the volatile runtime directory
    /run/udev/rules.d and the local administration directory
    /etc/udev/rules.d. All rules files are collectively sorted and
    processed in lexical order, regardless of the directories in which they
    live. However, files with identical file names replace each other.
    Files in /etc have the highest priority, files in /run take precedence
    over files with the same name in /lib. This can be used to override a
    system-supplied rules file with a local file if needed; a symlink in
    /etc with the same name as a rules file in /lib, pointing to /dev/null,
    disables the rules file entirely.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to