Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 295158

Summary: 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
Product: Gentoo Linux Reporter: Matthias Schwarzott <zzam>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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