Bug 150050 - sys-fs/mdadm init scripts don't handle /etc/mdadm/mdadm.conf
Bug#: 150050 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: henning@wh9.tu-dresden.de
Component: Core system
URL: 
Summary: sys-fs/mdadm init scripts don't handle /etc/mdadm/mdadm.conf
Keywords:  
Status Whiteboard: 
Opened: 2006-10-04 04:32 0000
Description:   Opened: 2006-10-04 04:32 0000
/lib/rcscripts/addons/raid-start.sh does not check if one has
/etc/mdadm/mdadm.conf. According to its manual mdadm allows both but will
prefer /etc/mdadm.conf if present. The raid-st(art|op).sh scripts should also
look for both and prefer /etc/mdadm.conf.

------- Comment #1 From Henning Schild 2006-10-04 04:40:41 0000 -------
Created an attachment (id=98753) [details]
patch against scripts from mdadm-2.5.2

This patch checks for both possible files. It prefers /etc/mdadm.conf over
/etc/mdadm/mdadm.conf. If the files are different it a warning will be send.
The diff warning could be omitted, but the scripts should check both files.

------- Comment #2 From SpanKY 2006-11-09 16:26:57 0000 -------
fixed in cvs, cheers