Description of problem: During spacewalk setup: ** Loading Satellite Certificate. ** Verifying certificate locally. ** Activating Satellite. * Enabling Monitoring. RHN::DB->connect(): No such alias '' at /usr/lib/perl5/site_perl/5.8.8/RHN/DB/SatInstall.pm line 374 This should not happen. Temporal workaround: export RHN_DEFAULT_DB='spacewalk/spacewalk@xe'
In old installer we have: sub set_default_db { my $dsn = shift; my %options = ('default_db' => $dsn); RHN::SatInstall->write_config(\%options); RHN::DB->set_default_handle($dsn); return; }
Commited as a8fffe77b05af94f7647ff0b2e72773567a661f0
Verified. ... ** Loading Spacewalk Certificate. ** Verifying certificate locally. ** Activating Spacewalk. * Enabling Monitoring. * Configuring apache SSL virtual host. ...