Subject: misc/981: /etc/security complains "missing: ./var/db/kvm_netbsd.db"
To: None <gnats-admin@NetBSD.ORG>
From: Masanobu Saitoh <saitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 04/20/1995 11:05:07
>Number:         981
>Category:       misc
>Synopsis:       /etc/security complains "missing: ./var/db/kvm_netbsd.db"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 20 11:05:03 1995
>Originator:     Masanobu Saitoh
>Organization:
	     saitoh@spa.is.uec.ac.jp
>Release:        NetBSD-current 18 Apr 1995
>Environment:
System: NetBSD physio.spa.is.uec.ac.jp 1.0 NetBSD 1.0 (NBTY) #809: Wed Apr 19 05:25:39 JST 1995 saitoh@physio.spa.is.uec.ac.jp:/usr/sources/0124/src/sys/arch/x68k/compile/NBTY x68k

>Description:
	In /etc/security, following command is executed.

		mtree -e -p / -f /etc/mtree/special

	This specfication file has one mistake, and mtree complains

	"missing: ./var/db/kvm_netbsd.db"

	even if /var/db/kvm_netbsd.db is exist.

>How-To-Repeat:
	Try following command.

	mtree -e -p / -f /etc/mtree/special

>Fix:

	Apply this patch.

	
--- special.orig	Fri Apr 21 01:47:57 1995
+++ special	Fri Apr 21 01:48:15 1995
@@ -117,7 +117,7 @@
 ..	#var/at
 backups		type=dir mode=0755 uname=root gname=wheel ignore
 ..	#var/backups
-db		type=dir mode=0755 uname=root gname=wheel ignore
+db		type=dir mode=0755 uname=root gname=wheel
 kvm_netbsd.db	type=file mode=0644 uname=root gname=wheel
 ..	#var/db
 log		type=dir mode=0755 uname=root gname=wheel
>Audit-Trail:
>Unformatted: