[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.35); XEmacs doesn't kill subprocess using su
From: |
Alexander Taler |
Subject: |
Re: tramp (2.0.35); XEmacs doesn't kill subprocess using su |
Date: |
Mon, 21 Jul 2003 21:40:38 -0400 |
>>>>> "Kai" == Kai Großjohann <address@hidden> writes:
Kai> To: Alexander Taler <address@hidden>
Kai> Subject: Re: tramp (2.0.35); XEmacs doesn't kill subprocess using su
Kai> Date: Mon, 21 Jul 2003 09:10:09 +0200
Kai> Alexander Taler <address@hidden> writes:
>> Using the su method, XEmacs can't kill the shell subprocess, which
>> prevents it from exiting.
Kai> Whee. Hm. Why is it trying to kill the shell, rather than the su
Kai> process? (Does it work to kill the su process from outside of XEmacs?
Kai> Does it work to kill the shell spawned by su from outside of XEmacs?
Kai> Both as luser, not as root, of course.)
I think this output from ps makes it all clear:
dissent 919 ? S 20:52 0:00 wterm -tr -tn xterm
dissent 920 pts/2 S 20:52 0:00 \_ zsh
dissent 942 pts/2 S 20:53 0:04 \_ xemacs -vanilla
root 957 pts/4 S 20:54 0:00 \_ /bin/sh
So, su is exec()ing itself away.
I experimented on an older system I have, and su doesn't use
exec() there. Consequently XEmacs exits normally.
Hmmm, I have no idea which su I'm running. It's not the GNU one,
because it doesn't support --version. My older system runs the
GNU one.
So a changed su is to blame. Do you think it should be raised
with the XEmacs people? (What about GNU Emacs?) I'm not sure
that you want to change TRAMP. Maybe I'll report the problem to
Debian too and see what they say. . .
Alex
--
http://libcvs.cvshome.org/ Access CVS through a library.
PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B
"Fido Bakin is my name."
-- The Two Towers, Malaysian edition