Bug 524357

Summary: PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: notting, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-21 17:27:32 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:
Attachments:
Description Flags
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs
none
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs none

Description Hans de Goede 2009-09-19 12:07:28 UTC
Created attachment 361755 [details]
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs

halt must not kill mdmon processes, otherwise the reboot / halt hangs at
unmounting filesystems, since the kernel then waits for mdmon, which we've just killed.

This patch uses the new -o killall5 cmdline argument from 
sysvinit-tools >= 2.87 (which arrived in rawhide just in time :)

I know this ain't pretty, but this is how mdraid with external metadata works,
send complaints to the mdraid people.

Comment 1 Hans de Goede 2009-09-19 13:46:56 UTC
Created attachment 361765 [details]
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs

New version with
action $"Waiting for RAID sets to become clean: "
in front of the mdadm --wait-clean

Comment 2 Bill Nottingham 2009-09-21 17:23:58 UTC
Hrm, we're in a string freeze, so I don't know that having another translated string really helps.