misc/72910: /etc/rc.d/sendmail does not correctly call
sendmail_precmd()
Daniele Pilenga
dpilenga at libero.it
Wed Oct 20 00:10:21 PDT 2004
>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 at 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:
More information about the freebsd-bugs
mailing list