Date: Fri, 25 Aug 2000 01:22:28 -0700 From: Ryan Shannon <rshannon@wcug.wwu.edu> To: freebsd-questions@freebsd.org Subject: make world Message-ID: <20000825012228.A21526@sloth.wcug.wwu.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000825012228.A21526>