NetBSD Problem Report #10171

Received: (qmail 1457 invoked from network); 22 May 2000 04:00:10 -0000
Message-Id: <200005212353.e4LNre125091@this.graffiti.com>
Date: Sun, 21 May 2000 23:53:40 GMT
From: Andrew Brown <atatat@atatdot.net>
Reply-To: Andrew Brown <atatat@atatdot.net>
To: gnats-bugs@gnats.netbsd.org
Subject: etc/changelist does not work with two sendmail.cf files
X-Send-Pr-Version: 3.95

>Number:         10171
>Category:       bin
>Synopsis:       etc/changelist does not work with two sendmail.cf files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 22 04:01:00 +0000 2000
>Closed-Date:    Mon May 22 04:15:16 +0000 2000
>Last-Modified:  Mon May 22 04:15:16 +0000 2000
>Originator:     TheMan
>Release:        1.4Y, via cvs update yesterday (or the day before)
>Organization:
none
>Environment:

System: NetBSD this 1.4Y NetBSD 1.4Y (THAT) #13: Sun May 21 01:53:53 GMT 2000 root@this:/usr/src/sys/arch/i386/compile/THAT i386


>Description:

	now that sendmail has been upgraded to 8.10.1 and the sendmail
	suite of files has been moved to /etc/mail, changelist was
	updated to track changes in both locations: /etc/sendmail.cf
	and /etc/mail/sendmail.cf, which doesn't work.  i upgrade my
	/etc every week or two, and the first time i got a nightly
	security email that said that /etc/sendmail.cf had disappeared
	and that /etc/mail/sendmail.cf had appeared, i thought it was
	normal.  then i got one the night after that and the night
	after that, and so on and so on.

	/etc/changelist lists both versions so the first one (the one
	in /etc/mail, which does exist) it finds, counts as the file
	being created and the second one (the old /etc location) counts 
	as being deleted (since it's not there).

>How-To-Repeat:

	upgrade to sendmail 8.10.1, move your sendmail.cf to the new
	location, and upgrade your changelist file.

>Fix:

	/etc/changelist (or the security script) might like to be taught
	to deal with files with the same name in different locations,
	but this patch makes my problem go away.

	i also removed /etc/sendmail.cw (and added the 8.10 equivalent)
	since the newer changelist file should really be supporting
	-current systems.

--- -	Sun May 21 23:45:13 2000
+++ changelist	Sun May 21 23:22:03 2000
@@ -5,7 +5,6 @@
 # for modifications.

 /etc/Distfile
-/etc/aliases
 /etc/amd/master
 /etc/bootparams
 /etc/bootptab
@@ -54,6 +53,7 @@
 /etc/mail.rc
 /etc/mail/aliases
 /etc/mail/helpfile
+/etc/mail/local-host-names
 /etc/mail/sendmail.cf
 /etc/mail/sendmail-IPv6.cf
 /etc/mailer.conf
@@ -100,8 +100,6 @@
 /etc/rtadvd.conf
 /etc/security
 /etc/security.conf
-/etc/sendmail.cf
-/etc/sendmail.cw
 /etc/services
 /etc/shells
 /etc/slip.hosts
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Sun May 21 21:15:04 PDT 2000 
State-Changed-Why:  
committed.  sorry for the meess. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.