From owner-freebsd-questions Tue Mar 25 10: 4:27 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E886237B401 for ; Tue, 25 Mar 2003 10:04:22 -0800 (PST) Received: from andrew.brobus.net (ns1.brobus.net [24.129.14.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2CFF43F75 for ; Tue, 25 Mar 2003 10:04:20 -0800 (PST) (envelope-from tamir@brobus.net) Subject: RE: OpenSSL obstacle to PostgreSQL Installation Date: Tue, 25 Mar 2003 13:06:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-ID: <985DF46E87E0C047A3670048DBCAD0556BBD@andrew.brobus.net> Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OpenSSL obstacle to PostgreSQL Installation X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Index: AcLy9bmDTKJUpeJjRlKh1pIFm9yqigAA0yQA content-class: urn:content-classes:message From: "Tamir Halperin" To: "Mike Meyer" Cc: X-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I did do a custom kernel only it wasn't me and the person that did this = for me is no longer available to refer the question to. I remember clearly that he was interested in shrinking down the size of = the kernel for the sake of saving memory but I don't remember the = details of how he achieved this. What are some typical things to look for and where when trying to hunt = down a config file for a custom kernel. > -----Original Message----- > From: Mike Meyer [mailto:mwm@mired.org] > Sent: Tuesday, March 25, 2003 12:39 PM > To: Tamir Halperin > Cc: freebsd-questions@FreeBSD.ORG > Subject: RE: OpenSSL obstacle to PostgreSQL Installation >=20 >=20 > In <985DF46E87E0C047A3670048DBCAD0556BB8@andrew.brobus.net>,=20 > Tamir Halperin typed: > > > -----Original Message----- > > > From: Mike Meyer [mailto:mwm@mired.org] > > > Sent: Tuesday, March 25, 2003 10:50 AM > > > To: Tamir Halperin > > > Cc: freebsd-questions@FreeBSD.ORG > > > Subject: RE: OpenSSL obstacle to PostgreSQL Installation > > >=20 > > > Right. That's a good symlink to do. The question is, why did ports > > > think you should have /usr/lib/libcrypto.so when you=20 > didn't have one? > > > Either you didn't install the crypto distribution, or you=20 > didn't build > > > it when you upgarded to a system that had it. > > 1a. As I proceed with the full upgrade how do I confirm=20 > that crypto is installed and running properly so that I can=20 > remove the symlink and get the system into a configuration=20 > that is more supportable and relying more on default settings? >=20 > Make sure you select any cryptography distributions that show up. >=20 > > 1b. How do I get rid of the symlink? I looked at man ln and=20 > it wasn't very clear. I have so much to learn :( >=20 > Just rm /usr/lib/libcrypto.so. >=20 > >=20 > > 2. I do not know how to do a back up. I hope there's some=20 > program in the system that will allow me to simply back up=20 > only the system related config files since those are the only=20 > thinga that aren't application specific that I've modified=20 > from time to time. >=20 > The upgrade process will back up the system related config files for > you. Like I said, I'm not sure where it backs them up to, as I haven't > done a binary upgrade in a while. >=20 > > I can easily get burn those on to a cd as well or copy them=20 > as a backup volume to my other machine for later restoration. > > > Alternatively for that last step, you can copy the your=20 > version back, > > > and run "/usr/sbin/mergemaster" to merge in the config=20 > file changes > > > from 4.8. But getting your config files up to date is the=20 > only part > > > that's not simple. > > 3a. An interestingly sounding alternative but I'm not sure=20 > what you mean by "copy your version back". > > 3b. What does my "version" pertain to? >=20 > The upgrade process copies all your old system config files to a safe > place before it installs the new ones. That's your version of them. >=20 > > Are you limiting that term to my version of the config=20 > files in the sense that I restore them back to their original=20 > locations and a program called mergmaster "automagically"=20 > updates them all with 4.8 settings where appropriate? >=20 > Sort of. Mergemaster isn't completely automatic. It will ask you if > you want to udpate files, and gives you the option to examine both > files and then merge them under your control. If you haven't modified > very many of the files, it might be easier to do this the other way > around. >=20 > > > If you want to do a source upgrade, the handbook covers=20 > that in "the > > > cutting edge". But the sequence is: > > >=20 > > > # cvsup # to get new sources. > > > # cd /usr/src > > > # make buildworld > > > # make kernel KERNCONF=3Dwhatever # use your kernel > > 4a. Where will I find the file that needs to be referenced=20 > in place of the word "whatever"? If you know the directory=20 > the KERNCONF file is stored in, great. But some hints as to=20 > the name will go a long way as well if you don't. > > > config file name here > > 4b. This one eludes me as well. >=20 > Those are the same thing. If you haven't configured a custom kernel, > then you can just do "make kernel" and leave off the KERNCONF=3D > stuff. If you have configured a custom kernel, you should know the > name of the kernels config file, and that's the "whatever" to use. >=20 > --=20 > Mike Meyer =09 http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more = information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message