Incorrect execution of `killall` on `plugin-container`

Bug #994189 reported by ill
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
psmisc (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When using the `killall` command on the `plugin-container` process, the command does not correctly identify the program and does not terminate the program.

The command `killall plugin-container` will return this:
plugin-container: no process found

When the command `killall plugin-containe`, the process `plugin-container` will correctly be terminated.

(description changed by trekcaptainusa-tw to be more descriptive of what the bug actually is)

Ubuntu Release: Precise
Package: psmisc
Version: 22.15-2ubuntu1

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/994189/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: killall incorrect tab completion

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
James Plate (james-plate-deactivatedaccount) wrote :

ill,
If would please provide some basic info on your version of Ubuntu using the output of 'lsb_release -a' and 'apt-cache policy 'gnome-terminal' it would be appreciated.

I confirmed this behaviour using gnome-terminal, Firefox and a youtube video to provide the plugin-container. Once I had the video open I used gnome terminal to enter 'killall plug +TAB', which did show the tab completion however the command would return 'plugin-container: no process found' until I deleted the last 'r' in 'plugin-container', at which point the command completed successfully.

Ubuntu 12.04 Precise

gnome-terminal:
  Installed: 3.4.1.1-0ubuntu1
  Candidate: 3.4.1.1-0ubuntu1
  Version table:
 *** 3.4.1.1-0ubuntu1 0
        500 http://ubuntu-archives.mirror.nexicom.net/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

affects: ubuntu → gnome-terminal (Ubuntu)
Revision history for this message
ill (illumilore) wrote :
Download full text (9.1 KiB)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

$ gnome-terminal
The program 'gnome-terminal' is currently not installed. You can install it by typing:
sudo apt-get install gnome-terminal

$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main i386 Packages
     release v=12.04,o=LP-PPA-ubuntu-wine,a=precise,n=precise,l=Latest official WineHQ releases,c=main
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main amd64 Packages
     release v=12.04,o=LP-PPA-ubuntu-wine,a=precise,n=precise,l=Latest official WineHQ releases,c=main
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ precise/main i386 Packages
     release v=12.04,o=LP-PPA-kubuntu-ppa,a=precise,n=precise,l=Kubuntu Updates,c=main
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ precise/main amd64 Packages
     release v=12.04,o=LP-PPA-kubuntu-ppa,a=precise,n=precise,l=Kubuntu Updates,c=main
     origin ppa.launchpad.net
 500 http://extras.ubuntu.com/ubuntu/ precise/main i386 Packages
     release v=12.04,o=LP-PPA-app-review-board,a=precise,n=precise,l=Application Review Board PPA,c=main
     origin extras.ubuntu.com
 500 http://extras.ubuntu.com/ubuntu/ precise/main amd64 Packages
     release v=12.04,o=LP-PPA-app-review-board,a=precise,n=precise,l=Application Review Board PPA,c=main
     origin extras.ubuntu.com
 500 http://archive.canonical.com/ubuntu/ precise/partner i386 Packages
     release v=12.04,o=Canonical,a=precise,n=precise,l=Partner archive,c=partner
     origin archive.canonical.com
 500 http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages
     release v=12.04,o=Canonical,a=precise,n=precise,l=Partner archive,c=partner
     origin archive.canonical.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/universe Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en
 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=multiverse
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=universe
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/restricted i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=restricted
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu/ precise-security/multiverse amd64 Packages
     release v=12.04,o=Ubuntu,a=precise-security,n=preci...

Read more...

Revision history for this message
Thomas Ward (teward) wrote :

I tested this with Bash and gnome-terminal in 12.04.

This bug exists in Precise, however it exists in all terminal emulators, tty terminals, and is not specific to gnome-terminal, which suggests this is a bug with bash-completion or the source pacakge for killall, psmisc.

Therefore, I am adding that this affects bash-completion, and setting this for gnome-terminal as Opinion, as this can occur in any and all terminal emulators, including remote SSH sessions.

I am also adding this to affecting killall's source package, psmisc, because of the issue that james-plate is having (which I can confirm) that when you do `killall plugin-container` it cannot find the process, but can find the process with `killall plugin-containe`.

------
Thomas
Bug Squad Member

Changed in gnome-terminal (Ubuntu):
status: Confirmed → Opinion
Revision history for this message
Thomas Ward (teward) wrote :

ill: in regards to your post, those are apt-get error logs, and do not particularly help this situation. However, since you have confirmed that this is not gnome-terminal specific, the status of 'opinion' is validated.

Revision history for this message
Thomas Ward (teward) wrote :

Disregard everything in #6, except that the status of 'opinion' is invalidated. (clicked 'post comment' too early)

------
Thomas
Bug Squad Member

Revision history for this message
Thomas Ward (teward) wrote :

correction to #7 (auto-complete error in Firefox in my instance): invalidated should be validated

Changed in psmisc (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Ward (teward) wrote :

Confirmed against 'psmisc' because the bug is reproducible in other shells (tested: bash, zsh) under the same circumstances.

Reconsideration may be needed by other bug squad members for bash-completion bugs, as this bug is reproducible under zsh for `killall`, but tab-completion is not handled for killall in zsh.

Robert Roth (evfool)
Changed in bash-completion (Ubuntu):
status: New → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

Setting Low importance per Thomas Ward on IRC

Changed in psmisc (Ubuntu):
importance: Undecided → Low
Revision history for this message
Micah Gersten (micahg) wrote :

Removed gnome-terminal and bash-completion tasks per Thomas Ward on IRC (this bug will focus on the issue of not killing the process properly and a new one will be filed for the bash completion issue)

no longer affects: bash-completion (Ubuntu)
no longer affects: gnome-terminal (Ubuntu)
Thomas Ward (teward)
summary: - killall incorrect tab completion
+ Incorrect execution of `killall` on `plugin-container`
Thomas Ward (teward)
description: updated
Thomas Ward (teward)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.