Bug 461596 - web.product_name not in master config list in PXT::Config at /usr/lib/perl5/site_perl/5.8.8/PXT/Config.pm
Summary: web.product_name not in master config list in PXT::Config at /usr/lib/perl5/s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space03
TreeView+ depends on / blocked
 
Reported: 2008-09-09 10:44 UTC by Milan Zázrivec
Modified: 2009-09-17 07:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:01:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2008-09-09 10:44:58 UTC
Description of problem:
When navigating to Channel -> arbitrary channel in list -> Packages ->
arbitrary package in list -> Dependencies

Following error is printed into /var/log/https/error_log:
error] config web.product_name not in master config list in PXT::Config at
/usr/lib/perl5/site_perl/5.8.8/PXT/Config.pm line 163

Seemingly the application is trying to read /etc/rhn/default/rhn_web.conf,
which does not contain web.product_name config option, nonetheless the
config value is present in /etc/rhn/rhn.conf

Version-Release number of selected component (if applicable):
spacewalk-web-0.2.3-1.el5.sw

Comment 1 Justin Sherrill 2008-10-15 18:37:21 UTC
Looks like this was designed so that all options needed would be in the 'default' config file, and just overridden in the rhn.conf.  I'm not going to change this logic, so I'm just going to add an entry into rhn_web.conf in the default directory.

9b1e098..7b37eb9

Comment 2 Devan Goodwin 2008-11-04 18:04:45 UTC
Verified in spacewalk 0.3. No error being printed to httpd/error_log, and web.product_name is defined in /etc/rhn/default/rhn_web.conf.

Comment 3 Miroslav Suchý 2009-09-17 07:01:17 UTC
Spacewalk has been released for some time.


Note You need to log in before you can comment on or make changes to this bug.