On Thu, 05 Mar 2009 12:12:16 -0500, Michael DeHaan <mdehaan(a)redhat.com>
wrote:
James Cammarata wrote:
> I'm running into a few problems using the built-in method.
>
> First, we were running into this bug with RHEL4.6 kickstarts:
>
https://bugzilla.redhat.com/show_bug.cgi?&id=385161
>
> Not sure if we would want to try and correct that or handle it in some
> way,
> but depends on how gluey mpdehaan wants to make Cobbler :) We're
> currently
> just using our own snippet which wget's the bootstrap file from the RHN
> server and executes it, which works flawlessly.
>
> Second, when a system is registered, it shows up as the name "unknown"
in
> Satellite, despite having the --hostname set. As far as I can
tell,
this
> is due to the fact that the network service isn't restarted
after the
> post
> network config, the "hostname" command isn't run, and/or the IP has no
> reverse lookup set in our DNS. I'm betting adding a "hostname
$hostname"
> to the post config snippet would fix this, but I wanted to ask
before
> playing with this to see if it's (probably) something I'm missing or
> doing
> wrong.
>
>
So basically the config file layed down for /etc/sysconfig/rhn is
syntatically wrong and it blows up? Yeah that is not something I'd want
to address in Cobbler. It's not the right place. Teaching old versions
of Anaconda new tricks? Yes, because that's the only place we can do
that.
It's syntactically correct, but there was a regression in up2date for
RHEL4.6 that broke things
For registration questions, and this one, I'd highly recommend
spacewalk-list, which is the upstream list for Satellite, rather than
cobbler list.
Yeah, found the problem. The system needs to be able to resolve itself
when registering, so adding entries to /etc/hosts does the trick. I'll
probably just write a quick & dirty snippet myself to address that.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.