Date: Thu, 13 Sep 2001 10:20:01 -0700 (PDT) From: Brian Somers <brian@freebsd-services.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/30546: Message-ID: <200109131720.f8DHK1V25870@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/30546; it has been noted by GNATS. From: Brian Somers <brian@freebsd-services.com> To: Tony Finch <dot@dotat.at> 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 <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109131720.f8DHK1V25870>