No guidelines for packaging of udev rules?

Jon Ciesla limb at jcomserv.net
Mon Oct 17 14:07:04 UTC 2011


> On Mon, Oct 17, 2011 at 08:34:58 -0500,
>   Richard Shaw <hobbes1069 at gmail.com> wrote:
>> Out of curiosity I decided to see if I could package zfs from
>> http://zfsonlinux.org/. One thing I noticed is that there are both
>> udev rules in /lib/udev/rules.d and /etc/udev/rules.d and I could not
>> find any guidelines on Fedora for what directory was appropriate.
>
>> Do I have that correct? And does this need to be covered in the
>> packaging guidelines somewhere?
>
>>From man udev:
>        The udev rules are read from the files located in the default rules
>        directory /lib/udev/rules.d/, the custom rules directory
>        /etc/udev/rules.d/ and the temporary rules directory
>        /run/udev/rules.d/. All rule files are collectively sorted and
>        processed in lexical order, regardless of the directories in which
> they
>        live. However, files in /etc/udev/rules.d/ take precedence over
> files
>        with the same name in /lib/udev/rules.d/; this can be used to
> ignore a
>        default rules file if needed.

The question seems moot for Fedora, however, as this appears to be a
kernel module:

https://fedoraproject.org/wiki/Packaging:Guidelines#No_External_Kernel_Modules

If including it in Fedora wasn't your intention, that's fine.

-J

> --
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
>


-- 
in your fear, seek only peace
in your fear, seek only love

-d. bowie



More information about the devel mailing list