On Sat, Jun 14, 2008 at 3:49 AM, Joe Peterson <joe@skyrush.com> wrote:[snip] So this clearly shows what's wrong; 7036 is the "controlling process" group id. But only "su foo" is in this group, the bash and stty processes have their own group, 7037. On my own system, when I do "su", I get this: 2891 2891 2892 root su temp 2892 2892 2892 temp bash ...and here the "bash" process is in the right group, 2892, while "su" is the one in the background! Can you try to run strace on the su to see where things go wrong, i.e. $ strace -f -e trace=process su foo ...and we're only interested in what happens up to the point where it hangs. That should hopefully tell us which process is doing the wrong thing. In either case, as Alan pointed out, this seems unlikely to be a kernel problem. [snip] Yeah, most likely the process that calls stty is first put in the background itself (or never brought to the foreground?). But I don't know why... when you get the trace, we can compare and find out where it deviates. Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
| Greg KH | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Greg KH | [patch 26/73] NET: Correct two mistaken skb_reset_mac_header() conversions. |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
