Subject: Sup oddity
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 07/21/1998 10:13:01
My scripts to sup -current daily have been purring along for years
without any trouble.  Recently, I noticed the logs saying "SUP: Unable
to delete directory src/sys/kgdb".  On investigating, I find that the
sup of 1998-03-04 was fine (it mentioned the directory, but in a line
"SUP Updated directory src/sys/kgdb"), but the next sup, 1998-04-04,
complained as quoted.  Every sup since then (at least, every one I've
checked) has complained likewise.

Now, src/sys/kgdb is not empty in the area being supped into; it
contains eight files:

-rw-rw-r--  1 mouse        7695 Nov 26  1997 README.port
-rw-rw-r--  1 mouse         867 Nov 26  1997 TODO
-rw-rw-r--  1 mouse         243 Nov 26  1997 debuggers.h
-rw-rw-r--  1 mouse         417 Nov 26  1997 files.kgdb
-rw-rw-r--  1 mouse        4697 Nov 26  1997 kgdb.h
-rw-rw-r--  1 mouse        7517 Nov 26  1997 kgdb_if.c
-rw-rw-r--  1 mouse       19271 Nov 26  1997 kgdb_kgdb.c
-rw-rw-r--  1 mouse        3956 Nov 26  1997 kgdb_slip.c

But I'm quite sure I didn't put them there.  So I'm wondering why sup
would leave the files there and then try to delete the directory.  (I
discipline myself to *never* write to the supped-into area, though it's
not impossible that something went wrong and wrote there, if that's
what it would take to cause this.)

I'm running sup with -B -d -E -K -o -z -v and the supfile in question

current release=allsrc hostbase=/ftp/pub base=/sources/sup/sup/netbsd prefix=/sources/supped/netbsd use-rel-suffix
current release=doc hostbase=/ftp/pub base=/sources/sup/sup/netbsd prefix=/sources/supped/netbsd use-rel-suffix
#current release=security hostbase=/ftp/pub base=/usr prefix=/usr backup use-rel-suffix
current release=othersrc hostbase=/ftp/pub base=/sources/sup/sup/othersrc prefix=/sources/supped/othersrc use-rel-suffix

If anyone has any idea what's wrong, I'd love to hear about it.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B