Bug 524357 - PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs
Summary: PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-19 12:07 UTC by Hans de Goede
Modified: 2014-03-17 03:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-21 17:27:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs (1.03 KB, patch)
2009-09-19 12:07 UTC, Hans de Goede
no flags Details | Diff
PATCH: halt must no kill mdmon processes, otherwise the reboot / halt hangs (1.08 KB, patch)
2009-09-19 13:46 UTC, Hans de Goede
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.