Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3463 - initscripts 0.7.1-4 problem with rc.sysinit script regarding /etc/mdadm.conf

Attached to Project: Arch Linux
Opened by Rod (rodrigo) - Saturday, 12 November 2005, 03:04 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The lastest initscripts 0.7.1-4 added some new code to rc.sysinit script.

The line:

if [ -f /etc/mdadm.conf -a "`grep ^ARRAY /etc/mdadm.conf`" ]; then

Doesn't take in account the possibility of /etc/mdadm.conf not being there. During the boot you get an error message:

grep: /etc/mdadm.conf: No such file or directory

I think that that script line should be something like:

if [ -f /etc/mdadm.conf ] && [ -a "`grep ^ARRAY /etc/mdadm.conf`" ]; then

Best regards,
This task depends upon

Closed by  arjan timmerman (blaasvis)
Sunday, 13 November 2005, 09:58 GMT
Reason for closing:  Duplicate
Additional comments about closing:  task 3462
Comment by Claudio Riva (Firetux) - Saturday, 12 November 2005, 09:10 GMT
see here:
http://bugs.archlinux.org/task/3462
the bug will be fixed in the next revision

Loading...