From owner-freebsd-bugs Thu Sep 13 10:20: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5992937B401 for ; Thu, 13 Sep 2001 10:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8DHK1V25870; Thu, 13 Sep 2001 10:20:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 13 Sep 2001 10:20:01 -0700 (PDT) Message-Id: <200109131720.f8DHK1V25870@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brian Somers Subject: Re: bin/30546: Reply-To: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/30546; it has been noted by GNATS. From: Brian Somers To: Tony Finch Cc: FreeBSD-gnats-submit@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: bin/30546: Date: Thu, 13 Sep 2001 18:15:05 +0100 > >Number: 30546 > >Category: bin [.....] > This patch does a number of things: [.....] > -if [ -r /etc/mail/sendmail.cf ]; then > - case ${sendmail_enable} in > +case ${sendmail_enable} in > +[Yy][Ee][Ss]) > + echo -n ' sendmail'; sendmail ${sendmail_flags} > + ;; > +*) > + case ${sendmail_outbound_enable} in > [Yy][Ee][Ss]) > echo -n ' sendmail' > - /usr/sbin/sendmail ${sendmail_flags} > - ;; [.....] Be careful here. When sendmail gets a HUP, it re-execs itself, but *only* if argv[0] is an absolute path. Your patch breaks sendmail's ability to process HUPs. I don't know if any other daemons behave like this. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message