From owner-freebsd-bugs Sun Mar 11 16: 0: 5 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 B21CD37B71B for ; Sun, 11 Mar 2001 16:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2C001a88169; Sun, 11 Mar 2001 16:00:01 -0800 (PST) (envelope-from gnats) Received: from mail.wlcg.com (mail.wlcg.com [207.226.17.4]) by hub.freebsd.org (Postfix) with ESMTP id 3352737B718 for ; Sun, 11 Mar 2001 15:59:36 -0800 (PST) (envelope-from rsimmons@mail.wlcg.com) Received: (from rsimmons@localhost) by mail.wlcg.com (8.11.3/8.11.3) id f2BNxac09313; Sun, 11 Mar 2001 18:59:36 -0500 (EST) (envelope-from rsimmons) Message-Id: <200103112359.f2BNxac09313@mail.wlcg.com> Date: Sun, 11 Mar 2001 18:59:36 -0500 (EST) From: Rob Simmons Reply-To: rsimmons@mail.wlcg.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/25715: Failure in sendmail.cf creation leaves temp files behind. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25715 >Category: conf >Synopsis: Failure in sendmail.cf creation leaves temp files behind. >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: Sun Mar 11 16:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Rob Simmons >Release: FreeBSD 4.3-BETA i386 >Organization: >Environment: System: FreeBSD mail 4.3-BETA FreeBSD 4.3-BETA #0: Sat Mar 10 16:56:04 EST 2001 acundari@mail:/usr/obj/usr/src/sys/WASABI i386 >Description: When you use the new Makefile in /etc/mail to create a cf file with 'make cf' and you have set DOMAIN() to a domain that does not have a corrosponding m4 file in /usr/share/sendmail/cf/domain the process will not complete (which is ok), but it leaves its temporary m4 file in /tmp without removing it. >How-To-Repeat: In the file /etc/mail/freebsd.mc change the line DOMAIN(generic) to DOMAIN(test) and make sure that /usr/share/sendmail/cf/domain/test.m4 does not exist. Now run 'make cf' in /etc/mail. You will get the following error: /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.mc > freebsd.cf m4: /usr/share/sendmail/cf/domain/test.m4: No such file or directory *** Error code 1 Stop in /etc/mail. Now go look in /tmp and you will find a directory that starts with m4 and contains a temporary m4 file. After the 'make cf' this file should be cleaned out of /tmp, but it is not. >Fix: I'm not an m4 expert, I'm not sure how to fix this problem. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message