Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2003 16:27:23 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Jake Burkholder <jake@locore.ca>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject:   Re: endianess of /etc/pwd.db
Message-ID:  <3E94AC5B.1B93F2FB@mindspring.com>
References:  <31398.1049876261@critter.freebsd.dk> <20030409130718.GF78831@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Jake Burkholder wrote:
> Apparently, On Wed, Apr 09, 2003 at 10:17:41AM +0200,
>         Poul-Henning Kamp said words to the effect of;
> > Kris ran into this problem:  copying a /etc/pwd.db from one endianess
> > to another gave him really weird uid/gid numbers.
> >
> > The DB code itself is endianess-agnostic, so the first warning one
> > gets is the weird UID/GID.
> >
> > Should we make the endianess of this file explicit to prevent this
> > pit-fall for our users ?  The cost would be less than epsilon.
> 
> Yes, please.


Sendmail databases have the same problem (mkdb).  Might want to
coordinate with those people, if they already have a solution, or
if you really want to create a general solution (FWIW).

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E94AC5B.1B93F2FB>