From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 15:58:04 2003 Return-Path: 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 ABC5E16A4CE for ; Wed, 3 Dec 2003 15:58:04 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3447543FDF for ; Wed, 3 Dec 2003 15:58:03 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 3 Dec 2003 18:01:01 -0600 Message-ID: <3FCE7868.8010109@daleco.biz> Date: Wed, 03 Dec 2003 17:57:28 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: rotten rottie References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Dec 2003 00:01:02.0218 (UTC) FILETIME=[B476B6A0:01C3B9F9] cc: freebsd-questions@freebsd.org Subject: Re: Questions about updating... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 23:58:04 -0000 rotten rottie wrote: > I am a linux user that wants to switch to freebsd... I am a bit confused > > about applying updates etc.. > > I installed a box for trial it was 5.1, I wanted to see if I could use > ports to update openssh for a test examp. After the port installed I > noticed > that another version of openssh was installed on the system. I talked > with a > friend and he said that it was part of usr/src and I could update it by > compiling the usr.bin version.. which was fine and worked. Here are my > questions: > > 1) if there are two trees(lack of better words) why would ssh exist in > both the system tree and the ports tree ? Wouldnt it be better to have > it in > the ports tree ? > 1st question ... I dunno, but somebody will likely tell you why soon enough; it seems that I recall that there is an answer, at least... 2nd question ... if it were only in the ports tree, that would likely violate the POLA ... if you set up a server, don't you *expect* to have ssh available? > 2) I have used gentoo in the past and am curious if there is something > simular to emerge -up world/system -- I would like to cvs the ports/sys > and then be able to see if anything need upgrading .. is this possible ? > I'm not familiar with gentoo, but AFAIK it's much like FBSD. Updating the system is basically $make buildworld $make buildkernel $make installkernel (reboot) $make installworld $mergemaster (Now, there are few options I left out, but you get the idea...) For ports, I'd use portupgrade (which is in ports). I wish I'd known about it when I started with FBSD ... handles most everything automagically. Dru Lavigne's got an excellent article at OnLamp.com .... http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html > 3) Say there was a update to openssh .. which would be the proper way to > update .. sync the sys tree and then just update ssh .. or sync the tree > and recompile the system ? or remove the sys version and install the port > version and update the port ? > > I am very happy with freebsd .. Im still in the exploring stage .. The > reasons for my questions is that I am a little weary of using freebsd in > production if I dont easily know when updates are avail, having to > recompile the system everytime I need a patch for a service. > > Thanks for helping me convert, > rottie > Well, IIRC, when the OpenSSH advisory came out, there were guys using all of those options... Take a look at the security advisories on the site. Almost always there's a patch available for "production" machines. If you're tracking -STABLE like I do (even on prod. boxen) then buildworld is easy enough for me.... HTH, Welcome to FBSD! Kevin Kinsey DaleCo, S.P.