Subject: misc/2710: Some files in the "base" set should be in the "etc" set.
To: None <gnats-bugs@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: netbsd-bugs
Date: 08/22/1996 11:36:15
>Number:         2710
>Category:       misc
>Synopsis:       Some files in the "base" set should be in the "etc" set.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 22 12:20:01 1996
>Last-Modified:
>Originator:     Gordon W. Ross
>Organization:
NetBSD
>Release:        1.2_BETA
>Environment:
	not applicable (any)

>Description:
	When the "base" set is installed, several files in /var that
	should be preserved will be replaced.  (Even if they are log
	files and such, they should probably not be in the base set.)

>How-To-Repeat:
	Do the usual installation of the "base" set.

>Fix:

The split-up stragegy for the var tree appears to be:

	base  - all directories under var
	comp  - var/db/libc.tags
	games - var/games/* (files only)
	etc   - all other files under var

It might be better to make a new "var" set instead of putting
the "varying" files in the "etc" set.  Comments?

For now, I'll assume the /var files belong in the "etc" set,
and the /var directories belong in the base set.

To consistently implement the above stragegy we need to
move the following files from the "base" to the "etc" set:

./var/cron/log
./var/db/locate.database
./var/log/lastlog
./var/log/lpd-errs
./var/log/maillog
./var/log/messages
./var/log/sendmail.st
./var/log/wtmp
./var/run/utmp

Diffs follow: (relative to src/distrib/sets/lists)

*** base/mi.orig	Fri Jun 28 13:44:44 1996
--- base/mi	Sat Aug  3 17:18:07 1996
***************
*** 1264,1273 ****
  ./var/backups
  ./var/crash
  ./var/cron
- ./var/cron/log
  ./var/cron/tabs
  ./var/db
- ./var/db/locate.database
  ./var/db/ns
  ./var/games
  ./var/games/hackdir
--- 1264,1271 ----
***************
*** 1276,1294 ****
  ./var/games/phantasia
  ./var/games/save
  ./var/log
- ./var/log/lastlog
- ./var/log/lpd-errs
- ./var/log/maillog
- ./var/log/messages
  ./var/log/rdist
- ./var/log/sendmail.st
- ./var/log/wtmp
  ./var/mail
  ./var/msgs
  ./var/preserve
  ./var/quotas
  ./var/run
- ./var/run/utmp
  ./var/rwho
  ./var/spool
  ./var/spool/ftp
--- 1274,1285 ----

*** etc/mi.orig	Thu Feb  8 16:42:14 1996
--- etc/mi	Sat Aug  3 17:19:32 1996
***************
*** 57,61 ****
--- 57,70 ----
  ./root/.klogin
  ./root/.login
  ./root/.profile
+ ./var/cron/log
  ./var/cron/tabs/root
+ ./var/db/locate.database
+ ./var/log/lastlog
+ ./var/log/lpd-errs
+ ./var/log/maillog
+ ./var/log/messages
+ ./var/log/sendmail.st
+ ./var/log/wtmp
  ./var/msgs/bounds
+ ./var/run/utmp

>Audit-Trail:
>Unformatted: