From owner-freebsd-questions Tue Oct 22 9:15:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D20FE37B401 for ; Tue, 22 Oct 2002 09:15:42 -0700 (PDT) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF0A643E3B for ; Tue, 22 Oct 2002 09:15:41 -0700 (PDT) (envelope-from pippo@bellnet.ca) Received: from pippo.bellnet.ca ([65.94.97.110]) by tomts6-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021022161540.FRXJ24390.tomts6-srv.bellnexxia.net@pippo.bellnet.ca> for ; Tue, 22 Oct 2002 12:15:40 -0400 Message-Id: <5.1.0.14.2.20021022115618.00a901b0@mail.host45.com> X-Sender: lesp3999@pop51.bellnet.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 X-Priority: 1 (Highest) Date: Tue, 22 Oct 2002 12:15:38 -0400 To: freebsd-questions@FreeBSD.ORG From: pippo@bellnet.ca Subject: mergemaster problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I want to upgrade FreeBSD from 4.62 to 4.7 so I can use openoffice. I find the instructions in the handbook incomplete: 21.4 Using make world In trying to use mergemaster, I find it incomprehensible as to what the program actually does and what I am supposed to direct it to do. It is not clear as to what is done with the master.passwd and group files and where they are installed or how they are modified. I tried to be ultra conservative and backed up the /etc/group and /etc/master.passwd files to *.old and then ran mergemaster. It was thereafter not clear who(what process or program) would use the new file (which, where) or how the files would be merged. I chose the 'm' option to merge the files, assuming that the existing passwords, users and groups would be merged into the new file. Then to verify, I entered the 'v' option; but this produced nothing. Thinking that the backups would be insurance, I then opted for 'i'. On exiting mergemaster, I chose to leave the temp files. I did not run the pwd_mkdb -p as suggested until after verifying the /etc directory and the /var/tmp/temproot/etc directories: SURPRISE the /etc/group, /etc/passwd and /etc/master.passwd files are empty. And there is nothintg in the /var/tmp/temproot/etc directory What in the world is going on here? I have not closed down or rebooted as I am afraid that the whole installation will be lshot to hell. What do I do? Will restoring the saved group and master.passwd files do anything? Then there is the empty passwd file. I suppose that running vipw and adduser might fix things... Also, there was no /etc/make.conf file. The installation has been pretty much "by the book" using portupgrade" ... Everything works just fine - Xfree86-4.2; cups, kde3; I just want to upgrade to 4.7 for openoffice. Please help PJ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message