From owner-freebsd-questions Tue Jul 31 11: 5: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.geekhouse.net (valve.dub.net [64.81.252.98]) by hub.freebsd.org (Postfix) with ESMTP id 22EF837B406 for ; Tue, 31 Jul 2001 11:05:02 -0700 (PDT) (envelope-from jim@toxic.magnesium.net) Received: by cartman.geekhouse.net (Postfix, from userid 1000) id B8FA631FE; Tue, 31 Jul 2001 11:05:01 -0700 (PDT) Date: Tue, 31 Jul 2001 11:05:01 -0700 From: Jim Mock To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: Where Is Source Code Stored? Message-ID: <20010731110501.B88762@cartman.geekhouse.net> Reply-To: jim@toxic.magnesium.net References: <5CD46247635BD511B6B100A0CC3F023925A02C@ldcmsx01.lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A02C@ldcmsx01.lc.ca.gov> User-Agent: Mutt/1.3.20i 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 On Tue, 31 Jul 2001 at 09:06:40 -0700, Drew Tomlinson wrote: > I'm a little confused. I built a 4.3-R system about 2 months ago and > then cvsup'ed the sources and made a custom kernel. I also d'loaded > the appropriate sources and built a custom version of Apache with > associated modules. As I remember it, all of my sources were in > /usr/src, just like the handful of other times I have done this > similar task. I have not cvsup'ed the sources since (that I > remember). However, I do cvsup the ports tree nightly. > > Today I was reading about the telnetd exploit and attempted to patch > my system following the instructions on freebsd.org but I could find > no sources in /usr/src. However, I did find a directory > /usr/src/usr.sbin. This directory appears to contain all of the > sources (including the Apache sources) that I used previously. > > So I have some questions. Is this correct? No, not really. Apache isn't part of the base system, and isn't in the source tree. > And if not, what is the best way to fix this? Should I just delete > the whole section and cvsup again? That would probably be the best way to do it... # rm -rf /usr/src # cvsup -g -L2 stable-supfile > If I cvsup again, do I need to rebuild my world and kernel instead of > just installing the patch? No, but it probably wouldn't hurt. > And finally, any speculation on how I might have gotten things out of > whack? No idea :-) - jim -- - jim mock tech writer | iXsystems, Inc. - - http://soupnazi.org/ work: jim@ixsystems.net | jim@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message