Date: Wed, 7 May 1997 13:55:09 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: "FreeBSD Current Users' list" <freebsd-current@FreeBSD.ORG> Subject: Full path for sendmail required in /etc/rc Message-ID: <19970507135509.15771@keltia.freenix.fr>
next in thread | raw e-mail | index | archive | help
In order to use the "kill -1" feature of sendmail 8.8.*, you need to run sendmail with a full path. Here is a patch (I don't have net access right now or I'd do it). Index: rc =================================================================== RCS file: /spare/FreeBSD-current/src/etc/rc,v retrieving revision 1.122 diff -u -2 -r1.122 rc --- rc 1997/05/05 07:08:30 1.122 +++ rc 1997/05/07 11:50:42 @@ -226,5 +226,5 @@ if [ "X${sendmail_enable}" = X"YES" -a -r /etc/sendmail.cf ]; then - echo -n ' sendmail'; sendmail ${sendmail_flags} + echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} fi Without the patch, you'll get this: May 7 13:37:30 keltia sendmail[142]: daemon invoked without full pathname; kill -1 won't work May 7 13:37:30 keltia sendmail[143]: starting daemon (8.8.5): SMTP+queueing@00:31:00 -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #8: Wed May 7 13:25:41 CEST 1997
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970507135509.15771>