From owner-freebsd-hackers Fri May 14 10:36:13 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 6091E14C3C for ; Fri, 14 May 1999 10:36:12 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id KAA02782; Fri, 14 May 1999 10:36:06 -0700 (PDT) (envelope-from dillon) Date: Fri, 14 May 1999 10:36:06 -0700 (PDT) From: Matthew Dillon Message-Id: <199905141736.KAA02782@apollo.backplane.com> To: =?iso-8859-1?Q?Roar_Thron=E6s?= Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: large master.passwd References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Hi : :On a site with 20k users in the master.passwd, and where NIS is not :trusted, the master.passwd is distributed to each workstation. :The pwd.db and spwd.db are sized around 10Mb. : :Sometimes, those .db files get corrupt. :I suspect it has something to do with the machines being reset etc before :the sync is finished. (The machines are dual-boot, and there are a lot of :users around.) : :I did some patching, and have not seen corrupted .db-files since. : :So how usable is this patch? :Worth intregrating? What version of FreeBSD are you running? mmap is used heavily with the password DBM's and at least one mmap bug known to cause corruption in those files was fixed a month or two ago. I do not remember whether it was backported to 2.2.x, though. -Matt :Regards, :Roar Thronęs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message