I'm looking at CLFS Version SVN-20061015-x86_64-Multilib, section
10.60 at the moment.  It's the 32-bit version of shadow.  In both the
32-bit and the 64-bit version, we move passwd from /usr/bin to /bin.
It seems pointless to me to move it twice.  If we follow CLFS as is,
we will install the 32-bit version of shadow - with the 32-bit version
of passwd - and move the 32-bit version of passwd to /bin.  We will
then install the 64-bit version of shadow with its passwd, temporarily
having both a 32-bit and 64-bit version of passwd, and then we move
the 64-bit passwd to /bin, overwriting the 32-bit one.

It seems to me that the move command in the 32-bit version can and
should be removed.  It will still get overwritten properly and it
won't run the risk of having two versions of passwd if you mess up.  I
find such a mess up likely, but it IS possible, and regardless it's a
wasted command to move passwd twice.  It's not a critical change, but
it seems to me to be one that should be made unless there is something
about the situation of which I am unaware that makes moving the 32-bit
passwd a good and necessary idea.

- Jonathan Davis
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to