Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Download of RH3 updates from a RH4 server

Download of RH3 updates from a RH4 server

2006-05-30       - By Dag Wieers

 Back
Reply:     1     2     3     4     5     6     7     8  

On Tue, 30 May 2006, Mimmus wrote:

> > Did you read _all_ the notes in that document concerning
> > using a single systemid ?
> I suppose...
>
> I'm trying to explain better:
> I have ONE subscription to RHN AS and I'd like to use it to download updates
> for both AS3 and AS4 (possibly AS4-x86_64 too... but this is another
> issue...)

If it's an AS/i386 subscription x86_64 is out of the question.


> This is my yam.conf:
>
> [main]
> srcdir = /var/yam
> wwwdir = /var/www/yam
> arch = i386
> rhnlogin = yyyyyyyyyy:xxxxxxxxxx
>
> [rhel4as]
> name = Red Hat Advanced Server $release U1 ($arch)
> release = 4
> rhnrelease = 4AS
> metadata = yum createrepo
> arch = i386 i586 i686 x86_64
> iso = rhel$release-u1-$arch-as-dvd.iso
> updates = rhn:///rhel-$arch-as-$release
>
> [rhel3as]
> name = Red Hat Advanced Server $release U4 ($arch)
> release = 3
> rhnrelease = 3AS
> arch = i386 i586 i686
> metadata = yum createrepo
> iso = rhel$release-u4-$arch-as-dvd.iso
> updates = rhn:///rhel-$arch-as-$release
>
> I DELETED my system subscription from RHN, RE-REGISTERED system (running
> RH4AS) to RHN, copied systemid to /var/yam/rhel3-as-i386 and tried to run
> 'yam -uxqg -d rhel3as'. Nope.
> I needed to alter channel subscription for this system from RHN (setting to
> nothing), then Yam worked.
> If I need to revert to rhel4as, I need to alter again channel subscription
> from RHN.

Well, there are issues with using a single systemid. That's a fact :)
README.rhn actually tries to persuade you to not do it.

One of the issues is that you have to run yam for each distribution
seperately otherwise the up2date global variables mess up and you'll
effectively have the channel subscription poisoning.

You can try the latest version from subversion, but I can't remember a
fixed an issue like you're describing. You also might want to use
gensystemid to create the systemid file instead of using the up2date
register process.

If it doesn't work it might be something Yam is not taking care of
properly, but the up2date code is very hard to understand and there's
almost no information about the XMLRPC methods.

That said, it works fine with 1 systemid per dist/arch and the gensystemid
tool makes it easy to manage the different systemids.


> P.S. I'm looking also for detailed instructions for using Yam for PXE/TFTP
> remote installations...

Yam only generates the /tftpboot/yam directory and pxelinux copies. You
still have to populate it yourself like you would do without Yam. I'd like
to work on footprint (a tool that manages kickstart files, pxeconfig
etc...) but currently no time for that.

Kind regards,
--   dag wieers,  dag@(protected),  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list