[Spacewalk-list] some questions

Michiel van Es michiele at info.nl
Wed Jul 16 13:32:05 UTC 2008


Sorry for another question :)

But if I want to provide the CentOS 5 packages (base, addons, updates 
and extras).

What is the best way to create my channels?
One base CentOS 5 channel and create 4 child channels for above repo's ?

An do I have to point my CentOS 5 clients to the base channel or the 
different child channels?

Kind regards,

Michiel




Michiel van Es wrote:
> Hi,
> 
> My work situation:
> 
> -CentOS 5 spacewalk server
> -CentOS 4 and 5 clients
> 
> I have a CentOS 5 spacewalk server which gets its updates with reposync.
> Besided the default yum repos in /etc/yum.repo.d/ , I made 2 extra
> repos's to fetch with reposync:
> 
> CentOS4_updates.repo
> 
> released updates
> [CentOS4_updates]
> name=CentOS-$releasever - Updates
> mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
> #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
> 
> 
> CentOS5_updates.repo
> 
> 
> #released updates
> [CentOS5_updates]
> name=CentOS-$releasever - Updates
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
> #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
> 
> And push the updates with rhnpush daily.
> 
> I installed the client software described on:
> https://fedorahosted.org/spacewalk/wiki/RegisteringClients
> 
> The problem is that I will only see bind updates for my CentOS 5 clients
> on the server but when I run a yum update on the clients I find much more:
> 
> [root at devgnudb01 scripts]# yum update
> Loading "rhnplugin" plugin
> Loading "fastestmirror" plugin
> Loading mirror speeds from cached hostfile
>   * base: ftp.nluug.nl
>   * updates: ftp.nluug.nl
>   * addons: ftp.nluug.nl
>   * centos5_updates: devmx01.buro.info.nl
>   * extras: ftp.nluug.nl
> base                      100% |=========================| 1.1 kB    00:00
> updates                   100% |=========================|  951 B    00:00
> addons                    100% |=========================|  951 B    00:00
> centos5_updates           100% |=========================| 1.2 kB    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Setting up Update Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package Deployment_Guide-en-US.noarch 0:5.2-11.el5.centos set to be
> updated
> ---> Package bind-libs.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
> ---> Package bind-utils.i386 30:9.3.4-6.0.2.P1.el5_2 set to be updated
> ---> Package bluez-utils.i386 0:3.7-2.2.el5.centos set to be updated
> ---> Package bluez-libs.i386 0:3.7-1.1 set to be updated
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> =============================================================================
>   Package                 Arch       Version          Repository        Size
> =============================================================================
> Updating:
>   Deployment_Guide-en-US  noarch     5.2-11.el5.centos  centos5_updates
>    3.5 M
>   bind-libs               i386       30:9.3.4-6.0.2.P1.el5_2
> centos5_updates   8
>                           46 k
>   bind-utils              i386       30:9.3.4-6.0.2.P1.el5_2
> centos5_updates   1
>                           67 k
>   bluez-libs              i386       3.7-1.1          centos5_updates
>   55 k
>   bluez-utils             i386       3.7-2.2.el5.centos  centos5_updates
>    346 k
> 
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update       5 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 4.8 M
> 
> My questions:
> 
> -Do I get trouble downloading CentOS4 and CentoS 5 updates with reposync
>   and pushing them in my satellite server?
> -Why doesn't spacewalk show me the updates above and only the bind*
> updates and not the oother updates?
> -If I want to install packages on clients (normal CentOS repo - base and
> extra repo) do I have to make a special channel for those repo's too?
> And do I have to configure the clients to use that extra channel too or
> can I use 1 channel for CentOS 5 clients? (base, extras and updates)
> -Did someone manage to use CentOS 4 client on the spacewalk server and
> use CentOS 4 and 5 clients on the server?
> 
> Sorry for all my questions , I am trying to figuring this beautiful tool :)
> 
> Thanks in advance.
> 
> Kind regards,
> 
> Michiel
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 506 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20080716/411987d3/attachment.sig>


More information about the Spacewalk-list mailing list