Subject: misc/7848: bad group name `root' in /usr/src/etc/mtree/special
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kawamoto@tenjin.org>
List: netbsd-bugs
Date: 06/23/1999 20:22:51
>Number:         7848
>Category:       misc
>Synopsis:       bad group name `root' is in /usr/src/etc/mtree/special
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 20:20:01 1999
>Last-Modified:
>Originator:     KAWAMOTO Yosihisa
>Organization:
Osaka University
>Release:        NetBSD-current 1999-06-23
>Environment:
System: NetBSD rerun.tenjin.org 1.4D NetBSD 1.4D (RERUN) #164: Thu Jun 24 02:19:16 JST 1999 kawamoto@rerun.tenjin.org:/usr/src/sys/arch/i386/compile/RERUN i386

>Description:
	There is a line including `gname=root' in /usr/src/etc/mtree/special,
	but there are no lines started by `root' in /usr/src/etc/group.
	This causes a mtree failure at a machine installed these files.

	mtree: unknown group root
	mtree: failed at line 92 of the specification

>How-To-Repeat:
	Install these files and run mtree.
>Fix:
	Apply a following simple patch.

--- /usr/src/etc/mtree/special-dist	Fri Jun 18 20:05:20 1999
+++ /usr/src/etc/mtree/special	Thu Jun 24 11:27:50 1999
@@ -89,7 +89,7 @@
 hide		type=dir mode=0750 uname=root gname=games ignore optional
 ..	#usr/games/hide
 ..	#usr/games
-include		type=dir mode=0755 uname=root gname=root ignore
+include		type=dir mode=0755 uname=root gname=wheel ignore
 ..	#usr/include
 lib		type=dir mode=0755 uname=root gname=wheel ignore
 ..	#usr/lib
>Audit-Trail:
>Unformatted: