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:
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.