Subject: install/6672: NetBSD.dist does the wrong thing for /var/msgs
To: None <>
From: Eric S. Hvozda <>
List: netbsd-bugs
Date: 12/28/1998 18:18:34
>Number:         6672
>Category:       install
>Synopsis:       The owner of /var/msgs is wrong
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 28 15:35:00 1998
>Release:        28Dec98 -current sources
System: NetBSD 1.3I NetBSD 1.3I (RA-CURRENT) #0: Sun Dec 20 18:19:59 EST 1998 i386

	When making a source tree build mtreegets runa against
	NetBSD.dist during the proceses.  However, NetBSD.dist
	does not properly set the ownership on /var/msgs to
	allow msgs(1) to function after uncommenting the msgs
	alias in /etc/aliases.

	This not only affects source builds, but even installs
	of NetBSD.
	Install NetBSD from a release or do "make build" in /usr/src
	and try to use msgs(1).  Watch it fail with mailer error 13.
	Notice upon examination that the ownership of /var/msgs is

	Also notice upon successive "make build"'s that the
	ownership gets reset to the wrong thing consistently.
	Apply this patch:

*** etc/mtree/NetBSD.dist.orig	Sun Dec  6 07:12:12 1998
--- etc/mtree/NetBSD.dist	Mon Dec 28 18:08:54 1998
*** 1742,1748 ****
  # ./var/msgs
! msgs
  # ./var/msgs
--- 1742,1748 ----
  # ./var/msgs
! msgs		uname=daemon
  # ./var/msgs