Subject: bin/20896: sendmail and ancient pathnames
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 03/26/2003 13:02:26
>Number:         20896
>Category:       bin
>Synopsis:       sendmail and ancient pathnames
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 26 13:03:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang S. Rupprecht
>Release:        NetBSD 1.6L
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
	
System: NetBSD capsicum.wsrcc.com 1.6L NetBSD 1.6L (WSRCC_ATHLON) #27: Tue Jan 14 09:41:15 PST 2003 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/src/sys/arch/i386/compile/WSRCC_ATHLON i386
Architecture: i386
Machine: i386
>Description:
	the current sendmail source compiles in a pathname that hasn't existed
	in ages.  (This pathname brings back memories of early BSD.)

	I guess	nobody uses restricted search paths in sendmail.

>How-To-Repeat:
	inspection.
>Fix:

Index: smrsh.c
===================================================================
RCS file: /cvsroot/src/gnu/dist/sendmail/smrsh/smrsh.c,v
retrieving revision 1.10
diff -u -r1.10 smrsh.c
--- smrsh.c	2003/03/24 15:04:02	1.10
+++ smrsh.c	2003/03/26 20:57:22
@@ -77,7 +77,7 @@
 # ifdef SMRSH_CMDDIR
 #  define CMDDIR	SMRSH_CMDDIR
 # else /* SMRSH_CMDDIR */
-#  define CMDDIR	"/usr/adm/sm.bin"
+#  define CMDDIR	"/usr/libexec/sm.bin"
 # endif /* SMRSH_CMDDIR */
 #endif /* ! CMDDIR */
 
>Release-Note:
>Audit-Trail:
>Unformatted: