Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295158 - sys-fs/mdadm-3.1.1: installs two different udev rule files and due to the name only the one from /etc is ever used
Summary: sys-fs/mdadm-3.1.1: installs two different udev rule files and due to the nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 09:58 UTC by Matthias Schwarzott
Modified: 2009-11-30 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwarzott gentoo-dev 2009-11-30 09:58:34 UTC
sys-fs/mdadm-3.1.1 does install two udev rules files:
$ epm -ql mdadm|grep udev
/etc/udev/rules.d/64-md-raid.rules
/lib/udev/rules.d/64-md-raid.rules

But as udev merges all rules directories and priorises them the one from /etc is always used.

Message from "udevadm test":
udev_rules_new: rule file basename '/etc/udev/rules.d/64-md-raid.rules' already added, ignoring '/lib/udev/rules.d/64-md-raid.rules'
Comment 1 SpanKY gentoo-dev 2009-11-30 22:00:11 UTC
looks like the rules are pretty much the same, so i just dropped it in the current ebuild.  thanks for the heads up.

http://sources.gentoo.org/sys-fs/mdadm/mdadm-3.1.1.ebuild?r1=1.1&r2=1.2