** Description changed:
+ [Impact] killall doesn't work with long process names.
+ [Test Case] See the detailed test case below.
+ [Regression Potential] The changes files also affect fuser (slightly) and
pstree, so it'd be worth making sure those still work properly.
- "prog_one_one_three" is an arbitrary program (couple of lines of 'C', sleep
() loop). What the program does is, is a don't care.
+ Original report follows:
+ "prog_one_one_three" is an arbitrary program (couple of lines of 'C',
+ sleep () loop). What the program does is, is a don't care.
ubuntu@test-0002:~$ ./prog_one_two_three&
[1] 1927
ubuntu@test-0002:~$ ps aux | grep prog_one_two_three
ubuntu 1927 0.0 0.0 4148 352 pts/0 S 08:20 0:00
./prog_one_two_three
ubuntu 1933 0.0 0.0 9392 888 pts/0 S+ 08:21 0:00 grep
--color=auto prog_one_two_three
ubuntu@test-0002:~$ killall prog_one_two_three
prog_one_two_three: no process found
****** Can't kill it *****
-
ubuntu@test-0002:~$ cp prog_one_two_three prog
ubuntu@test-0002:~$ ./prog&
[2] 1936
ubuntu@test-0002:~$ killall prog
[2]+ Terminated ./prog
- ubuntu@test-0002:~$
-
+ ubuntu@test-0002:~$
******* KIll OK *********
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: bash 4.2-1ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Sun Apr 1 08:33:13 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: bash
UpgradeStatus: Upgraded to precise on 2012-03-31 (0 days ago)
** Changed in: psmisc (Ubuntu Precise)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/970638
Title:
killall can't kill processes with names >15 bytes long (Ubuntu 12.04)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/970638/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs