NetBSD Problem Report #2711

From gnats  Thu Aug 22 12:22:13 1996
Received: from firewall.mc.com by pain.lcs.mit.edu (8.7.5/8.7.3) with SMTP id LAA12415 for <gnats-bugs@gnats.netbsd.org>; Thu, 22 Aug 1996 11:56:46 -0400 (EDT)
Message-Id: <9608221529.AA00627@bach>
Date: Thu, 22 Aug 96 11:29:59 EDT
From: "Gordon W. Ross" <gwr@mc.com>
To: gnats-bugs@NetBSD.ORG
Subject: Some files in the "base" set should be in the "etc" set.

>Number:         2711
>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
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 22 16:35:00 +0000 1996
>Closed-Date:    Thu Aug 22 16:45:02 +0000 1996
>Last-Modified:  Wed Aug 07 22:19:18 +0000 2002
>Originator:     Gordon W. Ross
>Release:        1.2_BETA
>Organization:
NetBSD
>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

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gwr 
State-Changed-When: Thu Aug 22 12:45:02 EDT 1996 
State-Changed-Why:  
This was a duplicate of 2710. (Oops...) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.