Date: Sun, 29 Sep 1996 15:14:11 -0500 (CDT) From: Karl Denninger <karl@Mcs.Net> To: chuckr@glue.umd.edu (Chuck Robey) Cc: karl@Mcs.Net, hackers@FreeBSD.org Subject: Re: PS broke again -- what has to be rebuilt to stop this? Message-ID: <199609292014.PAA12032@Jupiter.Mcs.Net> In-Reply-To: <Pine.OSF.3.95.960929155953.23690G-100000@maryann.eng.umd.edu> from "Chuck Robey" at Sep 29, 96 04:02:02 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609292014.PAA12032>