Subject: install/22978: /var symlinks busted by install
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 09/27/2003 15:12:26
>Number:         22978
>Category:       install
>Synopsis:       /var symlinks busted by install
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 27 20:13:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6ZC NetBSD 1.6ZC (VASH) #0: Thu Sep 25 23:07:39 CDT 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	Consider a system where / is not large enough to hold all of /var.
	One common strategy is to move /var into /usr/var.
	"build.sh install=/" breaks this.
>How-To-Repeat:
	Move /var to /usr/var.  Symlink /var->/usr/var.  Run install.
>Fix:
	The mtree stuff should follow the /var symlink, and check mode
	and permissions on that, not on the actual inode in /.
>Release-Note:
>Audit-Trail:
>Unformatted: