[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

2009-08-27 Thread Colin Watson
Might any of you have restarted sshd from within a su session? I don't have definite proof that it's related, but I note that the quoted blocked signal mask corresponds exactly to those signals that su blocks. I wonder if it's due to some PAM session module ... -- can only kill processes with -9

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

2009-08-27 Thread Michael Helmling
Hi, the machine is a PC (amd64), not virtual. All I said before was regarding SSH sessions only, but right now I happen to be at the site, so I'm able to do some further testing. The following holds: sleep on SSH, kill on SSH: not working sleep on SSH, kill on getty: not working sleep on getty,

Re: [Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

2009-08-27 Thread Scott James Remnant
On Wed, 2009-08-26 at 08:22 +, Michael Helmling wrote: > Actually the "no such process" line is not present anymore here, but the > symptoms are the same -- sleep runs until I kill with -9. > Right, I suspect that you just weren't quick enough that time ;-) Could you confirm a few things fo

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

2009-08-26 Thread Michael Helmling
Actually the "no such process" line is not present anymore here, but the symptoms are the same -- sleep runs until I kill with -9. -- can only kill processes with -9 in karmic from SSH sessions, -TERM does not work https://bugs.launchpad.net/bugs/412972 You received this bug notification because

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

2009-08-26 Thread Michael Helmling
Here you go... r...@menk:~# ps -A|grep sleep 3644 pts/000:00:00 sleep r...@menk:~# strace kill -TERM 3644 execve("/bin/kill", ["kill", "-TERM", "3644"], [/* 18 vars */]) = 0 brk(0) = 0x8ee000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVAT

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions

2009-08-25 Thread Scott James Remnant
The key line here is: kill(23473, SIGTERM)= -1 ESRCH (No such process) Could you do the same again, this time run both "strace kill -TERM pid" and then immediately after "strace kill -9 pid" to prove that -9 works ** Summary changed: - can only kill processes with -9 in ka

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions

2009-08-25 Thread Michael Helmling
Hi, here's what I get (23473 is a "sleep 100" process): helml...@menk:~$ strace kill -TERM 23473 execve("/bin/kill", ["kill", "-TERM", "23473"], [/* 18 vars */]) = 0 brk(0) = 0x762000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOU

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions

2009-08-25 Thread Scott James Remnant
Pick on a process to kill, then run: strace kill -TERM pid-of-process And attach the output from strace ** Changed in: procps (Ubuntu) Importance: Undecided => Medium ** Changed in: procps (Ubuntu) Status: New => Incomplete -- can only kill processes with -9 in karmic from SSH se

[Bug 412972] Re: can only kill processes with -9 in karmic from SSH sessions

2009-08-21 Thread Jonathan Marsden
** Summary changed: - can only kill processes with -9 in karmic + can only kill processes with -9 in karmic from SSH sessions -- can only kill processes with -9 in karmic from SSH sessions https://bugs.launchpad.net/bugs/412972 You received this bug notification because you are a member of Ubunt

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-20 Thread Matti Hiljanen
I'm seeing this too, clean up-to-date install of karmic alpha4 amd64 (netinst with mini.iso) on a physical machine. This happens only when logged in via ssh, doing the test locally (over a serial console) works. Definitely seems to be related to https://bugs.launchpad.net/ubuntu/+source/openssh/+b

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-19 Thread Jonathan Marsden
Michael wrote: "could you give me any hints how I could examine further why this happens?" The first thing might be to see if it is replicable -- can you install Karmic Alpha 4 on another machine and check whether you get the same issue? If not, then either it relates to the current install you h

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-18 Thread Michael Helmling
Strange .. could you give me any hints how I could examine further why this happens? -- can only kill processes with -9 in karmic https://bugs.launchpad.net/bugs/412972 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mail

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-18 Thread Kamus
Same here, I try to reproduce this in Karmic Alpha up to date (running under VirtualBox) and works fine for me too. ** Package changed: ubuntu => procps (Ubuntu) -- can only kill processes with -9 in karmic https://bugs.launchpad.net/bugs/412972 You received this bug notification because you ar

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-16 Thread Jonathan Marsden
In case it makes a difference, I was using a virtualbox VM rather than a physical machine to run Karmic Alpha 4 for the above test. -- can only kill processes with -9 in karmic https://bugs.launchpad.net/bugs/412972 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 412972] Re: can only kill processes with -9 in karmic

2009-08-16 Thread Jonathan Marsden
I cannot reproduce this here. sleep 100 & killall sleep works fine for me in Ubuntu Karmic Alpha 4 amd64 (with updates as of 2009-08-16): Script started on Sun 16 Aug 2009 06:54:43 PM PDT jonat...@black:~$ sleep 100 & [1] 28262 jonat...@black:~$ killall sleep [1]+ Terminated