killall behaviour

Harald Becker ralda at gmx.de
Fri Sep 5 16:22:20 UTC 2014


Hi Denys !

 > Unfortunately, there is no commonly agreed definition of
> "program named FOO".

... but standard usage cases should be acted on correct:

Think of:

ln -s /bin/Busybox ntpd
ln -s /bin/Busybox syslogd
ln -s /bin/Busybox klogd

ntpd ...
syslogd ...
klogd ...

Busybox killall ntpd

... will not only kill ntpd, but also syslogd and klogd ... do you think 
anyone expect this?

> So, the proper solution, which never kills wrong processes,
> is "killall should kill no processes".

Where is your upstream compatibility here???

... this is not a corner case problem!

--
Harald





More information about the busybox mailing list