Documentation should make it clear that rules file names need to end in .rules

Bug #616108 reported by Ross Younger on 2010-08-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Martin Pitt

Bug Description

Binary package hint: udev

I'm running udev 151-12 from lucid.

If you are writing your own udev rules files, and don't name them something ending in .rules, they are silently ignored.

/etc/udev/rules.d/README makes no mention of this, only saying 'it's recommended that you simply name your files "descriptive-name.rules" '. udev(7) doesn't even hint at this restriction. Either, or ideally both, of these places should say so.

(I did eventually find that the writing_udev_rules.html document says they must end in .rules, but that isn't installed as part of the package.)

Colin Watson (cjwatson) wrote :

Agreed, it would be nice if this were in udev(7). I spent a bit of time with Ross on IRC trying to work this one out.

Changed in udev (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Martin Pitt (pitti) wrote :
Changed in udev (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 161+git20100820-1

udev (161+git20100820-1) maverick; urgency=low

  * New upstream release 161, plus fixes from git head: (LP: #620977)
    - udevadm trigger now defaults to change instead of add.
    - modem modeswitch removed, use usb_modeswitch instead (see LP #521578)
    - NAME= now ignored
    - udevd creates device nodes itself on startup based on modules.udevname
    - default device permission is 0600
    - lots of bug fixes
    - updated keymaps (LP: #271706, #554066, #569815, #592371)
    - update udev(7) to point out naming of rules files (LP: #616108)
    - cdrom_id: fix media state detection of DVD-RW/DVD+RWs (LP: #581925)
    - cdrom_id: fix media state detection on older hardware (LP: #502143)
  * debian/libudev0.symbols: Add new symbols from upstream version.
  * debian/udev.initramfs-hook: Drop 64-device-mapper.rules, it was removed
  * debian/control: Drop obsolete (pre-lucid) Breaks and Conflicts.
  * debian/rules: Replace obsolete dh_clean -k with dh_prep.
  * debian/control: Slightly more generously version libselinux1-dev build
    dependency (thanks lintian).
  * debian/control: Replace obsolete ${Source-Version} with ${binary:Version}.
  * debian/control: Update Standards-Version to 3.9.1.
  * debian/control: Add Homepage field.
 -- Martin Pitt <email address hidden> Sat, 21 Aug 2010 10:07:44 +0200

Changed in udev (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers