From owner-freebsd-questions Fri Aug 25 1:22:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.184.240]) by hub.freebsd.org (Postfix) with SMTP id 2272037B42C for ; Fri, 25 Aug 2000 01:22:33 -0700 (PDT) Received: (qmail 23926 invoked by uid 1146); 25 Aug 2000 08:22:28 -0000 Date: Fri, 25 Aug 2000 01:22:28 -0700 From: Ryan Shannon To: freebsd-questions@freebsd.org Subject: make world Message-ID: <20000825012228.A21526@sloth.wcug.wwu.edu> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. I just updated my source using CVSup and did a make world, following the instructions in the handbook. All seemed to go well until I got to the section in the handbook that says "Update /etc". I was confused because it specifically says only /etc in the title, but says that after doing a # make DESTDIR=/var/tmp/root distrib-dirs distribution "/var/tmp/root now contains all the files that should be placed in appropriate locations under /" So I go through all the files in /var/tmp/root/etc and compare them to the files in /etc with diff, copying files from /etc to /var/tmp/root/etc when the differences are only my customizations. I then try to cp /var/tmp/root / and I get a gazillion errors talking about can't replace directories with files - all having to do with /usr/share/whatever. I figured that most of that stuff is non-essential so I just ignored it and finished the rest of the directions in the chapter. Why does the chapter break off into a sub-indented section referring to future updates and never finishes saying what to do? It just leaves you there with two directories, /etc and /var/tmp/root/etc, and no instruction on how to merge them. After rebooting, however, I could only log in as root - with no password. I tried using /stand/sysinstall to reset the root password, and it said it did, but it didn't. Only after using adduser did it replace a bunch of user config related files in /etc and begin to work normally. Did I screw up when I did a cp /var/tmp/root /? I intended only to add nonexisting files and replace existing files that differed, but it could have replaced the whole directory, thereby removing files that existed previously only in /etc and not in /var/tmp/root/etc. That would be bad. I did back up my old /etc directory, just in case. Can anybody enlighten me, please? Thanks, Ryan Shannon rshannon@wcug.wwu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message