From owner-freebsd-current Sun Mar 12 19:15:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id DBC4037BE7B; Sun, 12 Mar 2000 19:15:19 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id OAA03653; Mon, 13 Mar 2000 14:21:38 +1100 Date: Mon, 13 Mar 2000 14:15:01 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Kris Kennaway Cc: freebsd-current@FreeBSD.ORG Subject: Re: NODESCRYPTLINKS=true doesn't work In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 12 Mar 2000, Kris Kennaway wrote: > On Sun, 12 Mar 2000, Oliver Fromme wrote: > > > Maybe I'm just too dumb... It's my understanding that the > > purpose of the ``NODESCRYPTLINKS'' option in make.conf is > > to prevent overwriting the libcrypt symlinks in /usr/lib. > > Well, it doesn't work. > > > > I cvsupped today in the morning (~ 9:00 UTC on Sunday), added > > NODESCRYPTLINKS=true to /etc/make.conf, "make buildworld", > > "make installworld", and couldn't log in anymore because > > the symlinks had been set to libscrypt (and I'm using DES > > passwords). > > > > I guess that's not how it's supposed to work, is it? > > No :) > > DES crypt links have a "higher priority" than MD5 crypt links - if you do > a make install in secure/lib/libcrypt or lib/libcrypt, each will overwrite > the libcrypt links of the other. The difference is that make world runs > secure/lib/libcrypt last, so the DES links win. So, as the name suggests, It's a bug for install rules to overwrite each others results. > unless you want no DES crypt links (keep the MD5 links, please!), you > don't use it. "WANTDESCRYPTLINKS" is the historical behaviour which hasn't > changed. The historical behaviour was not to touch existing links. This was broken in rev.1.20 of libcrypt/Makefile. This Makefile even overwrites its own links after creating them the first time. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message