killall -e should match process for very long names, but limits to 15 chars

Asked by Alexandru Zbarcea on 2012-07-26

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

Linux horus 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ ps -e | grep chromium
19025 ? 00:02:59 chromium-browse

!!! WITHOUT r (chromium-browser)

$ killall -e chromium-browser
chromium-browser: no process found

This bug happens after upgrading from 11.10

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu procps Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-28
Last reply:
2012-07-27
Alexandru Zbarcea (zbarcea-a) said : #1

although it seems duplicated to #295876, I thing that it is not, because this bug has to do only with "killall -e"

-e,--exact require exact match for very long names

What is the output of:

which chromium-browse; which chromium-browser; lsb_release -a; uname -a

Thanks

Alexandru Zbarcea (zbarcea-a) said : #3

@actionparsnip

all details requested are mentioned in the bug description.

$ which chromium-browser
/usr/bin/chromium-browser

BUT is NOT RELEVANT.
you need only to find a process name longer than 15 chars ... and you can reproduce the bug!

Alexandru Zbarcea (zbarcea-a) said : #4

@actionparsnip

all details requested are mentioned in the bug description.

$ which chromium-browser
/usr/bin/chromium-browser

BUT is NOT RELEVANT.
you need only to find a process name longer than 15 chars ... and you can reproduce the bug!

You missed a command that I gave...

andy@fileserver:~$ echo; echo; ps -ef | grep dnsmasq | grep -v grep; echo; lsb_release -a; echo

dnsmasq 1070 1 0 Jul26 ? 00:00:00 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new

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

How's that for you....?

Alexandru Zbarcea (zbarcea-a) said : #7

$ echo; echo; ps -ef | grep dnsmasq | grep -v grep;

nobody 1547 1411 0 22:15 ? 00:00:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec

$ echo; lsb_release -a; echo

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

what does DNS got to do with killall ?

also ... I changed sh to point from dash to bash (if it somehow related)

$ which sh
/bin/sh

$ ll /bin/sh
lrwxrwxrwx 1 root root 9 Jun 20 10:17 /bin/sh -> /bin/bash*

Can you help with this problem?

Provide an answer of your own, or ask Alexandru Zbarcea for more information if necessary.

To post a message you must log in.