From owner-freebsd-stable Fri Nov 22 13:42:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3545737B401 for ; Fri, 22 Nov 2002 13:42:50 -0800 (PST) Received: from fubar.adept.org (fubar.adept.org [63.147.172.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9B9643EA9 for ; Fri, 22 Nov 2002 13:42:49 -0800 (PST) (envelope-from mike@adept.org) Received: by fubar.adept.org (Postfix, from userid 1001) id 1D23D1527E; Fri, 22 Nov 2002 13:41:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fubar.adept.org (Postfix) with ESMTP id 1AECF15247 for ; Fri, 22 Nov 2002 13:41:29 -0800 (PST) Date: Fri, 22 Nov 2002 13:41:29 -0800 (PST) From: Mike Hoskins To: freebsd-stable@freebsd.org Subject: Re: Problem with recent stable In-Reply-To: <20021122174811.GA49120@atrbg11.informatik.tu-muenchen.de> Message-ID: <20021122133113.I52235-100000@fubar.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Nov 2002, Daniel Lang wrote: > #7 0x2811a2d6 in getpwuid () from /usr/lib/libc.so.4 Maybe this is a clue? > atleo3:~#pwd_mkdb -C /etc/passwd > pwd_mkdb: corrupted entry > pwd_mkdb: at line #3 > pwd_mkdb: /etc/passwd: Inappropriate file type or format FWIW, this isn't new, root@mojo{etc}# pwd_mkdb -C /etc/passwd pwd_mkdb: corrupted entry pwd_mkdb: at line #3 pwd_mkdb: /etc/passwd: Inappropriate file type or format root@mojo{etc}# pwd_mkdb -C /etc/master.passwd root@mojo{etc}# uname -a FreeBSD mojo.televoke.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Mon Nov 18 15:27:10 PST 2002 mike@mojo.televoke.net:/usr/obj/usr/src/sys/MOJO i386 I believe pwd_mkdb is meant to source master.passwd. That is, it checks the format according to FreeBSD's master.passwd syntax, not SVR7's passwd (from the man page). > And 'vipw' seems to work without errors. But of course, I cannot > verfify the contents of the .db files. Have you tried invoking vipw, then doing wq or making a small edit and saving... Effectively recreating the .db files? > So this was build just today. I'm upgrading my workstation from a cvsup a few minutes ago, we'll see what happens. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message