From owner-freebsd-hackers Sun Sep 29 13:14:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA21887 for hackers-outgoing; Sun, 29 Sep 1996 13:14:20 -0700 (PDT) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA21855 for ; Sun, 29 Sep 1996 13:14:16 -0700 (PDT) Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by Kitten.mcs.com (8.8.Beta.6/8.8.Beta.3) with SMTP id PAA20568; Sun, 29 Sep 1996 15:14:13 -0500 (CDT) Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.15) id ; Sun, 29 Sep 96 15:14 CDT Received: (from karl@localhost) by Jupiter.Mcs.Net (8.8.Beta.6/8.8.Beta.3) id PAA12032; Sun, 29 Sep 1996 15:14:11 -0500 (CDT) From: Karl Denninger Message-Id: <199609292014.PAA12032@Jupiter.Mcs.Net> Subject: Re: PS broke again -- what has to be rebuilt to stop this? To: chuckr@glue.umd.edu (Chuck Robey) Date: Sun, 29 Sep 1996 15:14:11 -0500 (CDT) Cc: karl@Mcs.Net, hackers@FreeBSD.org In-Reply-To: from "Chuck Robey" at Sep 29, 96 04:02:02 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > On Sun, 29 Sep 1996, Karl Denninger wrote: > > > Hi folks, > > > > Well, the kernel structures changed AGAIN between 8/24 and today. > > > > I have tried checking out the new libkvm and rebuilding that, along with ps, > > and the problem does not disappear. > > > > Exactly what has to be rebuild/relinked when these things happen? A > > complete "make world" across 30 machines is not acceptable! > > > > You know it's not as bad as you paint it. You would only have to nfs > mount the /usr/src and /usr/obj, then do a make install on the other > machines. You sound like you're complaining that current changes. > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data No, I well understand that -CURRENT changes. That's the point of it being "current". However, if I want to run a new kernel, I shouldn't have to rebuild half of the system utilities! I can understand if kernel structures change. But FreeBSD *BADLY* needs a reasonable way to avoid this kind of problem. There IS a fix for this -- reasonably-version the shared libraries (ie: libc.so.3.0.2, etc) and embed the preferred library name in the executable being built. Now if you change the kernel structures and the "ps/w/everything-that-reads structures" has to change, you can update libkvm.so.x.y.z *ONLY* and get a new version number for it -- and the new executables you build for it will know what they want. "make install" on an NFS mounted obj and src tree is unacceptable for a number of reasons -- not the least of which is that all of the SUID security fixes that I have done get UNDONE when you do this! -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity http://www.mcs.net/~karl | T1 from $600 monthly; speeds to DS-3 available | 23 Chicagoland Prefixes, 13 ISDN, much more Voice: [+1 312 803-MCS1 x219]| Email to "info@mcs.net" WWW: http://www.mcs.net/ Fax: [+1 312 248-9865] | Home of Chicago's only FULL Clarinet feed!