From owner-freebsd-stable@FreeBSD.ORG Wed Apr 4 18:27:43 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA57A16A404 for ; Wed, 4 Apr 2007 18:27:43 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id BFB5F13C4AE for ; Wed, 4 Apr 2007 18:26:56 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so791331ugh for ; Wed, 04 Apr 2007 11:26:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lZZKrwYVHAhq52nGXLzPSPcNfbHULNPNsnphjHYL76MyrcbKHFADJWxXay2A8aUyjpENdUxAKYfTDpPfbyu6byqwXNNbBuurz6dhH4JoHLkzngrsHg6Pgfunn/r4YXwbDDMNF7rC2/XCRri/dVpORrQldHx+A/j8nY8Ln4joZ7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bOpu9ozgnm9f5omtcAE5/cHA8DKvbui/3z6bMGnJnFixWn2hqBVnoyTeCACMz/W7i3zT01zjwte0JyVk8FLfyKdAMrMdtaDQs5iGs+vVAfQ7Vb0pmZ3APvEaxpU7XkixM9PDwzNf3IZd4A6pSJuUl7ue4WfRa3ShkLRf+4kymcU= Received: by 10.82.178.11 with SMTP id a11mr1150532buf.1175708065501; Wed, 04 Apr 2007 10:34:25 -0700 (PDT) Received: by 10.82.158.7 with HTTP; Wed, 4 Apr 2007 10:34:25 -0700 (PDT) Message-ID: <14989d6e0704041034t1e197592jbd7d609ddd1d0765@mail.gmail.com> Date: Wed, 4 Apr 2007 17:34:25 +0000 From: "Christian Walther" To: "KAYVEN RIESE" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070403020736.8549C241BF@freebsd-stable.sentex.ca> <20070404125452.M18358@fledge.watson.org> Cc: stable@freebsd.org Subject: Re: single user mode buildwerld failures X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 18:27:44 -0000 On 04/04/07, KAYVEN RIESE wrote: > there were so many steps they didn't seem obvious.. i got halfway thru and > realized i > was in some prompt for mergemaster -p, or so i thought, so i started over. > i had no > idea what was happening. i can't log on now. > /etc/passwd is gone. i used a freeBSD disk that is certainly old to go to > a fixit shell but i didn't > know what to do. i can go back to the fixit shell if somebody tells me > what to do but i have > to *#@&ing walk over to kinkos now to get on the internet. So firstly you should probably sit down and take a deep breath. Secondly, it appears that you messed up your system pretty badly, I'm not sure that it can be fixed. On the other hand, it just might be that you missed a few steps. For example, when you're in single user mode the root filesystem is mounted read only, which means that you can't write to it. Anything related to the upgrade process (installworld, mergemaster...) has to fail. Question is (sorry this isn't ment to sound harsch) if you read the manual carefully, because it describes the entire process pretty detailed. That is to say you have to read all the chapters, not only the beginning. For example it appears that you didn't remount the root filesystem read/writeable after you booted to single user mode. Passwords are not stored in /etc/passwd, there is /etc/pwd.db, /etc/master.passwd and /etc/spwd.db, too. All are required for the system to be fully functional. The latter two contain the passwords in encrypted form. You might want to try to restore these files in particular. BTW: Your mailer appears to be broken. Some of your postings are really difficult to read, it seems as if quoted postings aren't marked properly, for example with a ">".