[Home]

Summary:ASTERISK-09928: [patch] Replace killall with pkill
Reporter:Michiel van Baak (mvanbaak)Labels:
Date Opened:2007-07-22 14:52:20Date Closed:2011-06-07 14:07:26
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) remove_killall_trunk.diff
( 1) remove_killall.diff
Description:to make asterisk a bit more portable replace all the calls to killall with pkill
All systems I have access to have pkill but not all of them have killall
Comments:By: Michiel van Baak (mvanbaak) 2007-07-22 14:53:33

Patch for trunk is a bit different because apps/app_rpt.c has no killall call there anymore.

By: Tilghman Lesher (tilghman) 2007-07-22 16:12:42

We tend to gravitate towards standards.  While killall is not in the Standard Unix Specification, it is in the Linux Standard Base.  pkill is not, as best as I can find, part of any standard at all.

By: Michiel van Baak (mvanbaak) 2007-07-23 11:14:49

After discussing this on #asterisk-dev and doing some searches on the net it appears only OpenBSD does not have killall.
Debian users should run: apt-get install psmisc
FreeBSD users can obtain killall from the portst tree at sysutils/psmisc
NetBSD users can obtain killall from the sysutils/psmisc-19 package

Ticket can be closed.