Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 13:41:29 -0800 (PST)
From:      Mike Hoskins <mike@adept.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Problem with recent stable
Message-ID:  <20021122133113.I52235-100000@fubar.adept.org>
In-Reply-To: <20021122174811.GA49120@atrbg11.informatik.tu-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122133113.I52235-100000>