Subject: misc/1665: 4.4BSD.dist doesn't fit with install statements
To: None <gnats-bugs@gnats.netbsd.org>
From: Arne H. Juul <arnej@idt.unit.no>
List: netbsd-bugs
Date: 10/21/1995 02:54:37
>Number: 1665
>Category: misc
>Synopsis: 4.4BSD.dist doesn't fit with install statements
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 20 22:20:01 1995
>Last-Modified:
>Originator:
>Organization:
University of Trondheim, Norway
>Release: NetBSD-current 18 Oct 1995
>Environment:
System: NetBSD ikke.idt.unit.no 1.0A NetBSD 1.0A (TEGGE) #0: Mon Sep 11 19:10:38 MET DST 1995 root@ikke.idt.unit.no:/usr/src/sys/arch/i386/compile/TEGGE i386
>Description:
When making snapshots, 4.4BSD.dist is used to create the
initial directory hierarchy. However, when afterwards the
`make install' statements are executed, some of the owners,
groups and permissions are modified. This means the distributed
system is inconsistent.
>How-To-Repeat:
export DESTDIR=/snap
cd /usr/src/etc
make snapshot
make distrib-dirs (should be silent, but is not).
>Fix:
Assuming that the `more specific' information in various
Makefile fragments spread around in the system is correct,
the following patch to 4.4BSD.dist should be applied.
If not, the various files themselves need to be modified.
*** 4.4BSD.dist.orig Sat Oct 21 01:55:35 1995
--- 4.4BSD.dist Sat Oct 21 02:12:02 1995
***************
*** 19,25 ****
dev
# ./dev/fd
! fd
# ./dev/fd
..
--- 19,25 ----
dev
# ./dev/fd
! fd gname=bin uname=bin mode=0555
# ./dev/fd
..
***************
*** 112,129 ****
..
# ./usr/include
! include
# ./usr/include/arpa
! arpa
# ./usr/include/arpa
..
# ./usr/include/g++
! g++
# ./usr/include/g++/gen
! gen
# ./usr/include/g++/gen
..
--- 112,129 ----
..
# ./usr/include
! include gname=bin uname=bin
# ./usr/include/arpa
! arpa gname=bin uname=bin
# ./usr/include/arpa
..
# ./usr/include/g++
! g++ gname=bin uname=bin
# ./usr/include/g++/gen
! gen gname=bin uname=bin
# ./usr/include/g++/gen
..
***************
*** 131,152 ****
..
# ./usr/include/kerberosIV
! kerberosIV
# ./usr/include/kerberosIV
..
# ./usr/include/protocols
! protocols
# ./usr/include/protocols
..
# ./usr/include/rpc
! rpc
# ./usr/include/rpc
..
# ./usr/include/rpcsvc
! rpcsvc
# ./usr/include/rpcsvc
..
--- 131,152 ----
..
# ./usr/include/kerberosIV
! kerberosIV gname=bin uname=bin
# ./usr/include/kerberosIV
..
# ./usr/include/protocols
! protocols gname=bin uname=bin
# ./usr/include/protocols
..
# ./usr/include/rpc
! rpc gname=bin uname=bin
# ./usr/include/rpc
..
# ./usr/include/rpcsvc
! rpcsvc gname=bin uname=bin
# ./usr/include/rpcsvc
..
***************
*** 831,845 ****
..
# ./usr/share/lkm
! lkm
# ./usr/share/lkm/misc
! misc
# ./usr/share/lkm/misc
..
# ./usr/share/lkm/syscall
! syscall
# ./usr/share/lkm/syscall
..
--- 831,845 ----
..
# ./usr/share/lkm
! lkm gname=bin uname=bin
# ./usr/share/lkm/misc
! misc gname=bin uname=bin
# ./usr/share/lkm/misc
..
# ./usr/share/lkm/syscall
! syscall gname=bin uname=bin
# ./usr/share/lkm/syscall
..
***************
*** 1203,1242 ****
..
# ./usr/share/zoneinfo
! zoneinfo mode=0555
# ./usr/share/zoneinfo/Australia
! Australia mode=0555
# ./usr/share/zoneinfo/Australia
..
# ./usr/share/zoneinfo/Brazil
! Brazil mode=0555
# ./usr/share/zoneinfo/Brazil
..
# ./usr/share/zoneinfo/Canada
! Canada mode=0555
# ./usr/share/zoneinfo/Canada
..
# ./usr/share/zoneinfo/Chile
! Chile mode=0555
# ./usr/share/zoneinfo/Chile
..
# ./usr/share/zoneinfo/Mexico
! Mexico mode=0555
# ./usr/share/zoneinfo/Mexico
..
# ./usr/share/zoneinfo/SystemV
! SystemV mode=0555
# ./usr/share/zoneinfo/SystemV
..
# ./usr/share/zoneinfo/US
! US mode=0555
# ./usr/share/zoneinfo/US
..
--- 1203,1242 ----
..
# ./usr/share/zoneinfo
! zoneinfo gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Australia
! Australia gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Australia
..
# ./usr/share/zoneinfo/Brazil
! Brazil gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Brazil
..
# ./usr/share/zoneinfo/Canada
! Canada gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Canada
..
# ./usr/share/zoneinfo/Chile
! Chile gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Chile
..
# ./usr/share/zoneinfo/Mexico
! Mexico gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/Mexico
..
# ./usr/share/zoneinfo/SystemV
! SystemV gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/SystemV
..
# ./usr/share/zoneinfo/US
! US gname=bin uname=bin mode=0555
# ./usr/share/zoneinfo/US
..
>Audit-Trail:
>Unformatted: