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):
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,
Those programs get killed
Those programs should survive
Created attachment 340525 [details]
This patch extends /etc/init.d/halt so that all programnames in /etc/xkillall_procs will not being killed
Initscripts no longer handle this -> close.