Date: Wed, 20 Oct 2004 07:00:59 GMT From: Daniele Pilenga <dpilenga@libero.it> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/72910: /etc/rc.d/sendmail does not correctly call sendmail_precmd() Message-ID: <200410200700.i9K70xlT095703@www.freebsd.org> Resent-Message-ID: <200410200710.i9K7AKmM011630@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72910 >Category: misc >Synopsis: /etc/rc.d/sendmail does not correctly call sendmail_precmd() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 20 07:10:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Daniele Pilenga >Release: 5.3RC1 >Organization: >Environment: FreeBSD 5.3-RC1 FreeBSD 5.3-RC1 #0: Tue Oct 19 15:04:20 CEST 2004 root@ConfigFreeBSDVM:/usr/obj/usr/src/sys/DISKLESS i386 >Description: The startup script /etc/rc.d/sendmail does not define start_precmd variable before calling run_rc_command and therefore the sendmail_precmd routing does not get called. >How-To-Repeat: If there is no /etc/mail/aliases.db the startup script is espected to create it using the newaliases command, it does not. >Fix: This little patch will fix it: --- /etc/rc.d/sendmail.orig Tue Oct 12 12:26:20 2004 +++ /etc/rc.d/sendmail Wed Oct 20 08:39:45 2004 @@ -70,7 +70,9 @@ fi } +start_precmd="sendmail_precmd" run_rc_command "$1" +unset start_precmd required_files= >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410200700.i9K70xlT095703>