[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procps



Brian White <bcwhite@verisim.com> writes:

> > Scripts shouldn't be using killall.
> 
> Any special reason why not?

menu's postinst does this:

 killall -KILL update-menus 2> /dev/null

Let's say Joe User on the machine has written his own script called
"update-menus" (completely unrelated) and it's running while the root
user upgrades menu, bham, Joe User's script is killed for no good
reason.

> Either way, I'm sure some packages use it and that'll need to be
> fixed in one way or another.

Of course, but not by encouraging the use of killall.

-- 
James


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: