From owner-freebsd-questions Fri Sep 15 13: 7:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 11FFB37B422; Fri, 15 Sep 2000 13:07:05 -0700 (PDT) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G0Y00E012IUXZ@lcmail2.lc.ca.gov>; Fri, 15 Sep 2000 13:06:31 -0700 (PDT) Received: from ldcmsx01.lc.ca.gov ([165.107.11.191]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with ESMTP id <0G0Y00EDI2IU9I@lcmail2.lc.ca.gov>; Fri, 15 Sep 2000 13:06:30 -0700 (PDT) Received: by ldcmsx01.lc.ca.gov with Internet Mail Service (5.5.2650.21) id ; Fri, 15 Sep 2000 13:07:00 -0700 Content-return: allowed Date: Fri, 15 Sep 2000 13:06:50 -0700 From: "Tomlinson, Drew" Subject: RE: Part #1 - Newbie Help Determining Lost Root After Upgrade Fro m 4.0 to 4.1 To: "'kstewart@urx.com'" Cc: 'Mark Ovens' , "'FreeBSD Questions (E-mail)'" Message-id: <8C224DC088D8D111B67D0000F67AC17E029C4C78@ldcmsx01.lc.ca.gov> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: MULTIPART/ALTERNATIVE; BOUNDARY="Boundary_(ID_vNSHCfN9hxDMw9erb4KBrg)" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Boundary_(ID_vNSHCfN9hxDMw9erb4KBrg) Content-type: text/plain; charset="iso-8859-1" > > "Tomlinson, Drew" wrote: > > > > Thank you both for your help. I am compiling a new kernel right > > now. > > > > I'm actually in California but I use a dynamic IP (dynip.com) DNS > > service that is located in Canada. So would this be why I had an > > error using CVSup with the "cvs-crypto" tag? I don't remember the > > exact error but it was something along the lines of it not being > > available. When I commented out the "cvs-crypto" and uncommented > > the individual collections, I didn't get the unavailable error. > > That message was caused by the fact they folded crypto in to src-all. > The cryto stuff should all be commented out or moved in front of the > ports-all tag=. section. I think commented out is the best choice > because it is already in src-all. I don't include the ports with my > system cvsup. I update the ports and docs manually because they are > based on tag=. and I don't mixed different worlds :). The fact that > you have your crypto stuff after the ports-all tag=. concerns me. I > have doubts on this but no notion what it did for you or to you. I > just don't do it that way because of my way of handling building my > world. > I just edited the supfile that was installed with the port. That's the order it was in. How do you update the ports and docs manually? Do you have a different supfile with just the ports and docs? Or is there some other command. > > > > So what problems am I likely to encounter once I get a good kernel? > > Also, you are correct, mergemaster didn't actually update anything > > as the default is to leave it for later. I've read the man page but > > don't understand why/when I want to keep, replace, or merge. I am > > completely new to Unix and am having a difficult time grasping > > concepts. > > I am very carefull to always use a KERNEL=SOMETHING on my buildkernel. > The previous commands stick around in roots history file. I rarely > modify my kernel config file and so I always do the > build[install]kernel method in /usr/src/UPDATING. I find I can get > away without doing the intermediate singe user mode boot but you > shouldn't try it right now. Thanks. I did use KERNEL=SOMETHING (machine name) as suggested by the handbook. But I'm curious. Why do you rarely modify your kernel config file? I thought that one of the main advantages to Unix was in creating a custom kernel specific to each machine, thus streamlining the OS and speeding things up significantly. Is this a misperception? > With mergemaster I follow the rule that anything I haven't modified I > use the new file (the "i" option). That is what the system is > expecting to use. You will have to update what seems like 100 files. > It will try to change your host* files. I look at those and do it > manually (the option). I have modified my dot.* files and I don't > let it change them back. It will try to change /root/.* files and I > don't let it do that either. My root aliases kept disappearing until > the light went on. > > Sendmail is going to thrash around until you build a new aliases.db > using the "newaliases" command. That is discussed in the first screen > of text on /usr/src/UPDATING. When my compile finally finishes, I'll try these steps. With the exception of the console, I'm locked out. I can't telnet in as I have no IP connection. Any attempt to ping from my machine returns a "no route to host" message even on the same subnet. I hope this is just because my system is between verisons right now? If not then I'll tackle that one next. [snip] Thanks again! Drew --Boundary_(ID_vNSHCfN9hxDMw9erb4KBrg) Content-type: text/html; charset="iso-8859-1" Content-transfer-encoding: quoted-printable RE: Part #1 - Newbie Help Determining Lost Root After Upgrade = Fro m 4.0 to 4.1

> > "Tomlinson, Drew" wrote:
> >
> > Thank you both for your help.  I am = compiling a new kernel right
> > now.
> >
> > I'm actually in California but I use a = dynamic IP (dynip.com) DNS
> > service that is located in Canada.  = So would this be why I had an
> > error using CVSup with the = "cvs-crypto" tag?  I don't remember the
> > exact error but it was something along the = lines of it not being
> > available.  When I commented out the = "cvs-crypto" and uncommented
> > the individual collections, I didn't get = the unavailable error.
>
> That message was caused by the fact they folded = crypto in to src-all.
> The cryto stuff should all be commented out or = moved in front of the
> ports-all tag=3D. section. I think commented = out is the best choice
> because it is already in src-all. I don't = include the ports with my
> system cvsup. I update the ports and docs = manually because they are
> based on tag=3D. and I don't mixed different = worlds :). The fact that
> you have your crypto stuff after the ports-all = tag=3D. concerns me. I
> have doubts on this but no notion what it did = for you or to you. I
> just don't do it that way because of my way of = handling building my
> world.
>

I just edited the supfile that was installed with the = port.  That's the order it was in.  How do you update the = ports and docs manually?  Do you have a different supfile with = just the ports and docs?  Or is there some other = command.

> >
> > So what problems am I likely to encounter = once I get a good kernel?
> > Also, you are correct, mergemaster didn't = actually update anything
> > as the default is to leave it for = later.  I've read the man page but
> > don't understand why/when I want to keep, = replace, or merge.  I am
> > completely new to Unix and am having a = difficult time grasping
> > concepts.
>
> I am very carefull to always use a = KERNEL=3DSOMETHING on my buildkernel.
> The previous commands stick around in roots = history file. I rarely
> modify my kernel config file and so I always do = the
> build[install]kernel method in = /usr/src/UPDATING. I find I can get
> away without doing the intermediate singe user = mode boot but you
> shouldn't try it right now.

Thanks.  I did use KERNEL=3DSOMETHING (machine = name) as suggested by the handbook.  But I'm curious.  Why do = you rarely modify your kernel config file?  I thought that one of = the main advantages to Unix was in creating a custom kernel specific to = each machine, thus streamlining the OS and speeding things up = significantly.  Is this a misperception?

> With mergemaster I follow the rule that anything = I haven't modified I
> use the new file (the "i" option). = That is what the system is
> expecting to use. You will have to update what = seems like 100 files.
> It will try to change your host* files. I look = at those and do it
> manually (the <cr> option). I have = modified my dot.* files and I don't
> let it change them back. It will try to change = /root/.* files and I
> don't let it do that either. My root aliases = kept disappearing until
> the light went on.
>
> Sendmail is going to thrash around until you = build a new aliases.db
> using the "newaliases" command. That = is discussed in the first screen
> of text on /usr/src/UPDATING.

When my compile finally finishes, I'll try these = steps.  With the exception of the console, I'm locked out.  I = can't telnet in as I have no IP connection.  Any attempt to ping = from my machine returns a "no route to host" message even on = the same subnet.  I hope this is just because my system is between = verisons right now?  If not then I'll tackle that one = next.

[snip]

Thanks again!

Drew

--Boundary_(ID_vNSHCfN9hxDMw9erb4KBrg)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message