Subject: bin/10171: etc/changelist does not work with two files
To: None <>
From: Andrew Brown <>
List: netbsd-bugs
Date: 05/21/2000 21:00:13
>Number:         10171
>Category:       bin
>Synopsis:       etc/changelist does not work with two files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 21 21:01:00 PDT 2000
>Originator:     TheMan
>Release:        1.4Y, via cvs update yesterday (or the day before)
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


	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/
	and /etc/mail/, 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/ had disappeared
	and that /etc/mail/ 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).


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


	/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/ (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.
@@ -54,6 +53,7 @@
@@ -100,8 +100,6 @@