[ale] CentOS repositories question

Chuck Payne terrorpup at gmail.com
Mon May 11 10:33:37 EDT 2015


Allen,

I am not sure about the updates, but you might want to download a CentOS
6.2 DVD and setup your base with it. SUSE Manager is base on Spacewalk, so
you could google to see how people are doing repro for just that, maybe if
you can find just a 6.2 update repro you can adjust my script below to put,
I use this in daily cron tab to pull updates.  I only pulled out the CentOS
6 part for you, I use this script to pull CentOS 5, 6, 7 and Fedora 20,21.
It use to pull openSUSE as well, but we are Red Hat Shop so I had to drop
it, but hopefully that will help.


#!/bin/sh
# try to create the lock and check the outcome
LOCKFILE=/var/run/spacewalk_sync.lock
lockfile -r 0 ${LOCKFILE} 1>/dev/null 2>&1
status=$?
if [ ${status} -ne 0 ] ;then
        echo "Another instance already running. Aborting."
        exit 1
fi
trap "rm ${LOCKFILE}" EXIT


# The following for CentOS 6 x86_64

/usr/bin/spacewalk-repo-sync --channel centos6-base-x86_64 \
                             --url
http://www.gtlib.gatech.edu/pub/centos/6/os/x86_64/ \
                             --type yum 2>&1 >> /var/log/spacewalk_sync.log

/usr/bin/spacewalk-repo-sync --channel centos6-updates-x86_64 \
                             --url
http://www.gtlib.gatech.edu/pub/centos/6/updates/x86_64/ \
                             --type yum 2>&1 >> /var/log/spacewalk_sync.log

/usr/bin/spacewalk-repo-sync --channel spacewalk-client-centos6-x86_64 \
                             --url
http://spacewalk.redhat.com/yum/2.2-client/RHEL/6/x86_64/ \
                             --type yum 2>&1 >> /var/log/spacewalk_sync.log




On Mon, May 11, 2015 at 9:53 AM, Beddingfield, Allen <allen at ua.edu> wrote:

>   We have a number of vendors who require exact versions.  We have
> several products that support exactly RHEL 6.2, down to specifying certain
> packages that can’t be patched from the version on the original media.  We
> run RHEL on the production server, and CentOS on the test and dev servers,
> and keep them at the same patch level.  (Anything that doesn’t have weird
> vendor requirements goes on SLES).  Also, we have a bureaucratic and fairly
> rigid change control process, so upgrading to the latest release (or even
> applying patches) to many things is a huge ordeal. - this applies to most
> production systems that have a large user base.  Luckily, I can usually get
> away with updating sshd and apache with only one meeting.  A “zypper up” or
> “yum update” requires much more red tape in most cases - depending on who
> owns the system, if it is high profile, etc…
>   --
> Allen Beddingfield
> Systems Engineer
> The University of Alabama
>
>
>   From: leam hall
> Reply-To: Atlanta Linux Enthusiasts
> Date: Thursday, May 7, 2015 at 4:41 PM
>
> To: Atlanta Linux Enthusiasts
> Subject: Re: [ale] CentOS repositories question
>
>   Why would you not stay with the current?
> On May 7, 2015 5:36 PM, "Beddingfield, Allen" <allen at ua.edu> wrote:
>
>>   Looks like I’m going to need a lot more disk space than I thought!
>>   --
>> Allen Beddingfield
>> Systems Engineer
>> The University of Alabama
>>
>>
>>   From: Brian Stanaland
>> Reply-To: Atlanta Linux Enthusiasts
>> Date: Thursday, May 7, 2015 at 4:33 PM
>> To: Atlanta Linux Enthusiasts
>> Subject: Re: [ale] CentOS repositories question
>>
>>   Jim's correct. This bit us once. We had systems set to update from "6"
>> and were quite surprised when one of the packages we needed got updated. We
>> changed to mirroring the 6.0 branch and everything was fine.
>>
>>  --Brian
>>
>>
>> On Thu, May 7, 2015 at 5:28 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
>>
>>> The '6' repo is the latest in the 6 series. The 6.2 only has the release
>>> and patches for that exact version. That's why there's a 6.0 in the repo.
>>>  On May 7, 2015 5:24 PM, "Beddingfield, Allen" <allen at ua.edu> wrote:
>>>
>>>>   I know there are a lot of CentOS users on the group, so I thought
>>>> someone could answer this question….
>>>> Do the /centos/6/os/x86_64 and /centos/6/updates/x86_64 repos have all
>>>> of the 6.x updates, or are these just for the 6.0 release?  I noticed that
>>>> there are variations for /centos/6.1/os/x86_64, /centos/6.1/updates/x86_64,
>>>> all the way through 6.6.
>>>>
>>>>  Here is the reason I’m asking:
>>>> I’m finally getting around to pulling in the updates into our SUSE
>>>> Manager server (Spacewalk-based), and I’m needing to pull down the repos
>>>> into channels.  Here is a brief description of that process:
>>>> https://wiki.novell.com/index.php/SUSE_Manager/Managing_CentOS
>>>>
>>>>  Do I actually need to pull down a separate set for 6 through 6.6, if
>>>> I have systems at all those various releases, or will pulling down just “6”
>>>> cover it?  I was under the impression that it was the case, until I started
>>>> poking around on one of the mirrors and found specific ones for each
>>>> release.  I would just try it and find out, but it takes quite a while to
>>>> pull one of these repos down.
>>>>
>>>>  Thanks.
>>>> Allen B.
>>>>   --
>>>> Allen Beddingfield
>>>> Systems Engineer
>>>> The University of Alabama
>>>>
>>>>
>>>>  _______________________________________________
>>>> Ale mailing list
>>>> Ale at ale.org
>>>> http://mail.ale.org/mailman/listinfo/ale
>>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>>> http://mail.ale.org/mailman/listinfo
>>>>
>>>>
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>>>
>>>
>>
>>
>> --
>> "Anyone who has never made a mistake has never tried anything new."
>> -Albert Einstein
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
Terror PUP a.k.a
Chuck "PUP" Payne

678 636 9678
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD,  an app you want to
package and distribute , or create your own linux distro. Give SUSE Studio
a try.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150511/0148be87/attachment.html>


More information about the Ale mailing list