Bug 496859 - [RFE] patch for killall5 with -x for excluding processes in /etc/init.d/halt
Summary: [RFE] patch for killall5 with -x for excluding processes in /etc/init.d/halt
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 496843
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-21 13:42 UTC by Marc Grimme
Modified: 2014-03-17 03:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-14 14:21:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
This patch extends /etc/init.d/halt so that all programnames in /etc/xkillall_procs will not being killed (769 bytes, patch)
2009-04-21 13:44 UTC, Marc Grimme
no flags Details | Diff

Description Marc Grimme 2009-04-21 13:42:13 UTC
Description of problem:
When a root filesystem is dependent on userspace programs the halt/reboot
process will not work. This happens because killall5 called by
/etc/init.d/halt will kill those programs and might therefore either stop the
halt/reboot process or yield other problems.

The attached patches introduces an approach for /etc/init.d/halt to take account of processes being excluded from being killed.

Again a file /etc/xkillall_procs is used to read all processes being excluded from killall5.

This is mainly needed when the root filesystem is either a cluster filesystem
like gfs/ocfs2/glusterfs or nfs/nfs4.

Version-Release number of selected component (if applicable):
all (fedora,rhel5)

How reproducible:
Always

Steps to Reproduce:
1. Use nfs4/gfs as rootfilesystem and the reboot or halt will kill programs
needed for filesystem interaction (aisexec, clvmd, groupd, rpcbind,
rpc.idmapd,..)
2.
3.

Actual results:
Those programs get killed

Expected results:
Those programs should survive

Additional info:

Comment 1 Marc Grimme 2009-04-21 13:44:18 UTC
Created attachment 340525 [details]
This patch extends /etc/init.d/halt so that all programnames in /etc/xkillall_procs will not being killed

Comment 2 Lukáš Nykrýn 2013-03-14 14:21:41 UTC
Initscripts no longer handle this -> close.


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