Jan, It is an odd one. It has something to do with the final_db_config function within spacewalk-setup: Just prior to this function, I copied a properly configured rhn.conf file in place. It appears the copy worked just fine, and was not replaced, but when it hit that step, it defaulted to the Red Hat configuration.
I believe the rhn.conf problem originated from the populate_final_configs function, as I have replaced the rhn.conf file before the ssl prompt and it was still overwritten. I finally just hardcoded the DBI function within final_db_config to complete the process, so it appears I am now good. Thanks for the help! Steve Kent -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jan Dobes Sent: Monday, November 16, 2015 5:27 AM To: [email protected] Subject: Re: [Spacewalk-list] Upgrade and rhn.conf On 13.11.2015 15:41 Steve Kent wrote: > I would appreciate any assistance that can be offered. I have always > been able to upgrade versions, and never encountered an issue. > > This time when I went from 2.3 to 2.4 I ran into an issue where the > rhn.conf file is being replaced with the default redhat settings. I > can copy my backup version and re-run the setup and it will still be replaced. > > Is there an additional file or table that is missing information or > something? Is there a reason my database settings are being > overwritten by the spacewalk-setup step in the upgrade? > > Thanks in advance for any assistance! > > Steve Kent > > > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > Hello, this seems as a bug to me. The spacewalk-setup should reuse existing DB settings and if it doesn't know any value, it should ask and add it to the rhn.conf. Regards, -- Jan Dobes Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
