Subject: Re: Upgrade to 2.0 and passwd problems
To: Tyler <tyler@agat.net>
From: Luke Mewburn <lukem@NetBSD.org>
List: netbsd-users
Date: 03/03/2005 10:33:59
--jwSnfOBD38i7UC9C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 02, 2005 at 08:31:07PM +0100, Tyler wrote:
  | ok I'll give all my commands to upgrade because I do not understand wha=
t=20
  | Ive done wrong :
  |=20
  | ./build.sh -U -D /usr/i386build distribution
  | ./build.sh -U -D /usr/i386build install=3D/

If you don't run this ("install=3D/") as root, it won't work.
If you run this as root without -U, it won't work properly.


  | cd /usr/i386build && pax -rwvpe bin sbin usr lib libexec /

Why are you running this last pax?
The contents of /usr/i386build will be owned by the user who did
the build, and there won't be any setid bits because of build.sh -U.


I would instead use either (using '$' as non root prompt, and '#' as
the root prompt):
	$ ./build.sh -U -D /usr/i386build distribution
	# ./build.sh -U -D /usr/i386build install=3D/

or build sets with
	$ ./build.sh -U -D /usr/i386build distribution sets
and extract those (except etc.tgz & xetc.tgz).

--jwSnfOBD38i7UC9C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFCJk1npBhtmn8zJHIRAppGAKCtK3gvxWDBH4X5/EUEZlqWZko5eQCePCne
2KlTMP1pGLQ14qnVMj8E5uw=
=mc7K
-----END PGP SIGNATURE-----

--jwSnfOBD38i7UC9C--