IRC log for #fredlug on 20070605

01:10.20*** join/#fredlug jsmith_ (n=jsmith@000-200-882.area3.spcsdns.net)
01:10.40*** join/#fredlug quigleymd (n=Matt@c-71-62-130-185.hsd1.va.comcast.net)
01:49.07*** part/#fredlug quigleymd (n=Matt@c-71-62-130-185.hsd1.va.comcast.net)
02:24.30plarsenhow come the good old 'Imap' and 'pop3' xinetd services are totally gone?
02:25.58plarsenehh - from Centos that is ;)  I'm still waiting to get a chance to really play with FC7
02:54.00jsmithImap and pop3 are served up by Dovecot
02:54.03jsmith(not from xinetd)
03:26.59plarsenit is now :)
03:27.17plarsenIt wasn't on my servers up till now ... FC4 even had it from xinetd
03:27.34plarsenMust admit I miss my xinetd - why it needs to be loaded constantly is a mystery to me
11:58.17*** join/#fredlug plarsen_ (n=plarsen@c-24-125-211-129.hsd1.va.comcast.net)
12:47.27*** join/#fredlug jsmith (n=jsmith@000-236-848.area3.spcsdns.net)
13:14.38*** join/#fredlug quigleymd (n=Matt@24-53-142-3-st.chvlva.adelphia.net)
13:38.14*** join/#fredlug jsmith (n=jsmith@000-236-848.area3.spcsdns.net)
13:47.41*** join/#fredlug quigleymd (n=Matt@24-53-142-3-st.chvlva.adelphia.net)
14:24.24*** join/#fredlug jsmith_ (n=jsmith@h46057329.area3.spcsdns.net)
17:09.47plarsenWhere can I read/learn the niddy griddy details of yum repositories??
17:12.27stickster_workI think there's some info on this at docs.fedoraproject.org
17:13.27stickster_workBut basically, you can just use rsync to mirror an existing repo, or reposync for that matter
17:13.37stickster_workTo make one from scratch, get the createrepo package and use the createrepo command
17:13.50stickster_workThat creates all the XML metadata you need
17:14.11plarsenstickster_work: Well, let me explain ... I've done that, but it was more or less trial and error. I'm trying to figure out what actually is inside the repository so I can sync up with the URL etc. on the client side.
17:14.31stickster_workAre you using rsync?
17:14.40plarsenstickster_work: I found that arch and version was used sorta wierd, and caused bad paths to be generated.
17:14.43plarsenrsync isn't the issue
17:14.52plarsenit's getting TO the repository from the local clients.
17:14.54*** join/#fredlug quigleym1 (n=Matt@24-53-142-3-st.chvlva.adelphia.net)
17:15.19stickster_workplarsen: Can you be more specific?
17:16.07plarsenstickster_work: hmmm - I'll try :)  I have about 10-15 "boxes" that I don't want RedHat to send the same frigging updates too all the time (work).
17:16.22plarsenI'm setting up a local RedHat ES repository with yum - and I need to configure the clients to get to it.
17:16.38stickster_workAh, in that case, you just drop a .repo file into /etc/yum.repos.d/
17:16.41plarsenstickster_work: My problem when I did this for Fedora/CentOS was that I kept getting the path into the repostiroy wrong
17:17.01stickster_workThe path you give is the path to the directory that *contains* the "repodata/" folder
17:17.03plarsenstickster_work: I either generated the repostiroy in the wrong directory or had the clients yum.conf use the wrong path in.
17:17.06stickster_workNot the repodata folder itself
17:17.35stickster_workYou should generate the repodata folder in an area that is specific to the platform release and the HW arch
17:17.43stickster_workso, e.g. RHEL 4 ES and i386
17:17.47plarsenAnd I was simply trying to finda place to learn about this, without bugging others with my lack of knowledge of yum repostiories
17:17.53stickster_workman yum.conf
17:18.11stickster_workThat page has all the info about yum repositories... but you can get most of what you need right out of an existing .repo file
17:18.32plarsenstickster_work: That's what I tried initially with fedora/centos - but that really didn't work (for me). I'm sure I did a mistake, I finally got it working without version/arch
17:18.53plarsenI'll go studying some more then :)
17:19.31stickster_workI generate repodata for instance in my mirror's /var/ftp/pub/linux/addons/fedora/6/i836/ folder
17:19.41stickster_workFor local packages I distribute here
17:19.50stickster_worksorry, s@i836@i386@
17:19.52plarsenBut do you generate ONE repostiory for ALL distributions or do you have one per "release" ?
17:20.00stickster_workNo, it should always be one per release & HW arch
17:20.04plarsenlol - that's ok, I got it.
17:20.12plarsenAHH - that may be where I errored then.
17:20.16stickster_workSo if you support i386, x86_64, and PPC, it would be three separate repos -- for *that* Linux distro
17:20.25stickster_workIf you support Fedora 5 and 6, that would be 6 total repos
17:20.38plarsenSo the 'repodata' directory gets created in the root of the rsync destination?
17:21.17stickster_workWell, ideally it should be in the directory that contains the RPMs, or that contains a directory containing the RPMs
17:21.35plarsen???   This is my confusion
17:21.47stickster_workLook at an existing mirror on the net.
17:21.50plarsenHow does the repository relate to the URL when fetching the packages?
17:22.01stickster_workThat depends on your server config ;-)
17:22.11plarsenARGH!! :) hehe
17:22.36plarsenDo you point httpd to the RPMS directory or the rsync root?
17:22.38stickster_worke.g. http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/ -- that's the top of the base FC6 distribution, contains a directory called Fedora/ which has RPMs in it, also contains repodata/
17:22.48stickster_workYou point it at the directory that *contains* the "repodata/" folder
17:23.03stickster_workSo in the example above, you would point to
17:23.08plarsenSo the RPMS (or Fedora)
17:23.15stickster_workNo.
17:23.27stickster_workTo the directory that contains the repodata/ folder.
17:23.38stickster_workIn the above example, http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/
17:23.43stickster_workThat's the folder you point to.
17:23.46stickster_workIt contains the repodata/ folder.
17:23.53stickster_workThat's what should go in the "baseurl=" call in your .repo file.
17:24.07stickster_workLook at the configuration of your existing Fedora machine.
17:24.15stickster_work(or RHEL/CentOS 5)
17:24.20stickster_work(or CentOS 4.x)
17:24.48plarsenuhmmm - but this means that the reposdata/ isn't located in the directory of the rpms, but in it's parent directory?
17:25.27stickster_workWhen createrepo is run, it searches recursively under the target directory for RPMs
17:25.28plarsenThe baseurl points to the folder that has the repodata folder. Got that
17:25.44stickster_workSo they can be one, two, ..., N directories down
17:25.47stickster_workDoesn't matter.
17:25.54stickster_workAll that matters is that they stay there
17:26.07plarsenSo I need one for base, and one for updates?
17:26.20stickster_workYou should have one for each repository that needs to be consulted
17:26.25stickster_workso basically, yes
17:26.32stickster_workYou can have as many as you want.
17:26.46stickster_workThe client is responsible for polling them all and resolving the numbers properly
17:26.51plarsen:) Ok. I'll give it a try tonight. Right now Mr. Doc is calling, so I'm going offline ... thanks for the info.
17:26.56plarsenI'll be playing with it tonight.
17:27.14plarsenBtw. I'm setting up a redhat with up2date and not rsync for redhat stuff. But I hope that won't totally mess things up here.
17:27.16plarsenTake care.
17:27.46stickster_worku2
17:42.47quigleymd_worknow, yum isn't smart enough to pick the fastest mirror, is it? You'll want to remove the existing updates repo, right?
18:26.35plarsen_awayquigleymd_work: You sync the updates repository too.
18:30.09*** join/#fredlug jsmith (n=jsmith@h4605bb04.area7.spcsdns.net)
20:08.57quigleymd_workplarsen_away: yea, but i mean on the clients that you want to use the locally sync'd repos, you have to manually remove the original, correct?
20:11.06plarsenquigleymd_work: depends on what you need. If there's no update to a package, and a client tries to do an install, then you need the base.
20:11.12plarsenquigleymd_work: In essense, you need both
20:11.23plarsenSome seem to argue to include "extras" and all the other stuff too
20:11.41quigleymd_workunderstood
22:10.57*** join/#fredlug jsmith-away (n=jsmith@000-192-364.area3.spcsdns.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.