On Fri, 25 Apr 2003, Andreas Gietl wrote: > > system monitoring stuff this way(I've even heard shutdown is affected) > > i can confirm that shutdown (halt|reboot) does not work on my 2.4.21-rc1-ac1 > boxes. (gentoo + redhat). Thanks for the info! > But your patch does not seem to fix it. Very interesting also, the two liner adressed only the well-known problems. To fix the other not so well-known side effects, a real cleanup is the way to go. Can you try the attached cleanup patch instead of the two-liner? It's an inital cleanup and should fix the other side effects which I described in my mails. Bernhard Kaindl PS: If either patch is applied correctly, this su guest -c 'ps $PPID;wc -m &1 | grep pid should give: [pid 2599] --- SIGSTOP (Stopped (signal)) @ 0 (0) --- [pid 2599] write(1, "\n", 1 If it does not, ptrace_check_attach is not fixed properly. (These are only the checks for the well known side effects which should be fixed even with the short is_dumpable() -> task_dumpable patch.)