osdir.com
mailing list archive

Subject: [Bug 701] New: exiwhat should automatically fall back to ps/ kill if multikill not available - msg#00025

List: mail.exim.devel

Date: Prev Next Index Thread: Prev Next Index
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=701
Summary: exiwhat should automatically fall back to ps/kill if
multikill not available
Product: Exim
Version: 4.69
Platform: Other
URL: http://bugs.debian.org/476455
OS/Version: Linux
Status: NEW
Severity: bug
Priority: medium
Component: Unfiled
AssignedTo: nigel@xxxxxxxx
ReportedBy: mh+exim-bugzilla@xxxxxxxxxxxx
CC: exim-dev@xxxxxxxx


Hi,

please consider applying the following patch to exiwhat:

--- exim4-4.69~/build-tree/src/exiwhat.src 2008-04-20 08:57:51.000000000
+0200
+++ exim4-4.69/build-tree/src/exiwhat.src 2008-04-20 09:02:04.000000000
+0200
@@ -109,7 +109,7 @@
# Solaris, "killall" kills ALL processes - this is the System V version of
this
# command, and not what we want!

-if [ "$multikill_cmd" != "" ] ; then
+if [ "$multikill_cmd" != "" ] && which "$multikill_cmd" > /dev/null; then
$multikill_cmd $signal "$multikill_arg"

# No multikill command; do it the hard way

This makes exiwhat work even if the multikill command is not present (which may
happen on Debian if the psmisc package is not installed).


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details
at http://www.exim.org/ ##



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

[Bug 700] New: Chokes on empty command line options

------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=700 Summary: Chokes on empty command line options Product: Exim Version: 4.69 Platform: Other URL: http://bugs.debian.org/476987 OS/Version: Linux Status: NEW Severity: bug Priority: medium Component: Unfiled AssignedTo: nigel@xxxxxxxx ReportedBy: mh+exim-bugzilla@xxxxxxxxxxxx CC: exim-dev@xxxxxxxx Hi, exim4 chokes when an empty command line argument is passed: $ exim -bd '' '' exim: incompatible command-line options or arguments $ This makes constructs like exim -bd "$SMTPLISTENEROPTIONS" harder to do in distribution init scripts when the options are empty. -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Next Message by Date: click to view message preview

Re: Patch to allow calling MySQL stored procedures from Exim

On Mon, 2008-03-31 at 20:41 +0200, B. Johannessen wrote: > Is there any interest in this patch at all or should I just resign > myself for maintaining it privately? It seems small enough; you should make a (probably wishlist) bug and attach the patch so it isn't lost in the mailing list noise. johannes signature.asc Description: This is a digitally signed message part -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Previous Message by Thread: click to view message preview

[Bug 700] New: Chokes on empty command line options

------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=700 Summary: Chokes on empty command line options Product: Exim Version: 4.69 Platform: Other URL: http://bugs.debian.org/476987 OS/Version: Linux Status: NEW Severity: bug Priority: medium Component: Unfiled AssignedTo: nigel@xxxxxxxx ReportedBy: mh+exim-bugzilla@xxxxxxxxxxxx CC: exim-dev@xxxxxxxx Hi, exim4 chokes when an empty command line argument is passed: $ exim -bd '' '' exim: incompatible command-line options or arguments $ This makes constructs like exim -bd "$SMTPLISTENEROPTIONS" harder to do in distribution init scripts when the options are empty. -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Next Message by Thread: click to view message preview

[Bug 701] exiwhat should automatically fall back to ps/ kill if multikill not available

------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=701 Tony Finch <fanf@xxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Tony Finch <fanf@xxxxxxxx> 2008-04-21 14:13:57 --- CVS commit by fanf2: Check that $multikill_cmd exists before running it, in case exiwhat is configured with a command name that is generally correct but happens not to be installed on the system. Fixes: bug #701 --- CVS commit summary --- 1.1 1.2 +1 -1 - exim/exim-src/src/exiwhat.src -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by