Bug 840562

Summary: 30md-shutdown.sh should ensure RAID array is clean before rebooting
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: dracutAssignee: dracut-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: amlau, awilliam, buhrt, dan.j.williams, dledford, dracut-maint, harald, Jes.Sorensen, johannbg, johannbg, jonathan, kay, lpoetter, metherid, mschmidt, notting, plautrba, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 743022 Environment:
Last Closed: 2012-12-20 15:43:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Hoyer 2012-07-16 15:25:25 UTC
+++ This bug was initially created as a clone of Bug #743022 +++

./run/initramfs/lib/dracut/hooks/shutdown/30md-shutdown.sh does not appear to be ensuring the array is clean before rebooting.  It can call "mdadm --wait-clean --scan" to do that.

--- Additional comment from Jes.Sorensen on 2012-06-25 04:43:04 EDT ---

Dan,

Glad it worked - you may want to open a bugzilla against dracut to suggest
they add those commands to the shutdown scripts. It may not get noticed
here.

Cheers,
Jes

Comment 1 Adam Williamson (Red Hat non-Fedora) 2012-09-18 00:52:16 UTC
clearing clone garbage.

Comment 2 Fedora Update System 2012-09-27 10:21:47 UTC
dracut-018-60.git20120927.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/dracut-018-60.git20120927.fc16

Comment 3 Fedora Update System 2012-09-27 10:22:59 UTC
dracut-018-105.git20120927.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/dracut-018-105.git20120927.fc17

Comment 4 Fedora Update System 2012-09-28 08:19:59 UTC
Package dracut-018-105.git20120927.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-018-105.git20120927.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14953/dracut-018-105.git20120927.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-12-20 15:43:47 UTC
dracut-018-60.git20120927.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.