Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264714 - app-shells/bash-completion-20081219-r1 is broken for killall when command name is >15 characters
Summary: app-shells/bash-completion-20081219-r1 is broken for killall when command nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 265504
  Show dependency tree
 
Reported: 2009-04-02 22:21 UTC by Nikoli
Modified: 2009-04-09 07:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pnames backport (bash-completion-_pnames.patch,2.06 KB, patch)
2009-04-03 06:42 UTC, Nick Fortino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2009-04-02 22:21:13 UTC
app-shells/bash-completion-20060301 could autocomplete long (>15) command names in killall:
"killall cons<TAB>" became "killall console-kit-daemon" with version 20060301, but now it shows "killall console-kit-dae" and I can kill this task only after typing "killall cons<TAB>mon"

p.s. I have:
app-shells/bash-3.2_p39
app-shells/bash-completion-20081219-r1
app-shells/gentoo-bashcomp-20050516

Reproducible: Always

Steps to Reproduce:
Comment 1 Nick Fortino 2009-04-03 06:42:16 UTC
Created attachment 187155 [details, diff]
pnames backport

It looks as though upstream has gone through a lot of break and fix cycles when it comes to grabbing the names of the running processes. This patch backports the process name handling from the current upstream live tree.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-09 04:52:05 UTC
I think it works now in v1.0. Please reopen or contact me if I am wrong. You will have to "downgrade" to get 1.0.

My test that worked:
%% echo "sleep 600" >> reallllllylongnameeee.sh 
%% bash reallllllylongnameeee.sh
%% killall rea<tab>
Comment 3 Nikoli 2009-04-09 07:09:34 UTC
Thank you, Jeremy! killall now works fine with:
app-shells/bash-3.2_p39
app-shells/bash-completion-1.0
app-shells/gentoo-bashcomp-20090222