Escalated to Bugzilla from IssueTracker
*For Engineering* Quick summary: Currently we have 2 config parameters for maximum configuration file size - /etc/rhn/default/rhn_server.conf: # Maximum size for a config file maximum_config_file_size = 131072 /etc/rhn/default/rhn_web.conf # maximum size for a config file web.maximum_config_file_size = 131072 The former is used in perl-based config file management - /usr/lib/perl5/site_perl/5.8.5/Sniglets/ConfigManagement.pm, whereas the latter is used in java-based UI config file management - code/src/com/redhat/rhn/common/conf/Config.java (see https://bugzilla.redhat.com/show_bug.cgi?id=433378#c2). Only the latter - web.maximum_config_file_size is documented in the manual, and as it is you need to set both of the params for the back-end to work. This BZ is intended to be a documentation bug, another one to be opened to consolidate the 2 parameters. We need to make changes in 2 places. 1. The Satellite manual, e.g., https://www.redhat.com/docs/manuals/satellite/Red_Hat_Network_Satellite-5.1.0/html/Reference_Guide/configuration-files.html, only mentions web.maximum_config_file_size, until the 2 params are consolidated, it should probably mention maximum_config_file_size too. It would also be nice to have a blurb on the maximum *UI-editable* config file size here (see bug 433378). 2. Satellite conf files, until the 2 params are consolidated, should distinguish between the two, or at least refer to each other in the comments as they're in separate files. /etc/rhn/default/rhn_server.conf: /etc/rhn/default/rhn_web.conf
(In reply to comment #5) > This BZ is intended to be a documentation bug, another one to be opened to > consolidate the 2 parameters. bug 470922
Here's a first swipe at changing the passage at this URL: https://www.redhat.com/docs/manuals/satellite/Red_Hat_Network_Satellite-5.1.0/html/Reference_Guide/configuration-files.html By default, the maximum file size for confiugration files is 128KB. If you need to change that value, find and modify the following line in the /etc/rhn/default/rhn_web.conf file: web.maximum_config_file_size=128 You must also find and change the following line in the /etc/rhn/default/rhn_server.conf file to the same value: maximum_config_file_size=128 Change the value in both files from 128 to the desired value in kilobytes.
Verified
By default, the maximum file size for configuration files is 128KB. If you need to change that value, find and modify the following line in the /etc/rhn/default/rhn_web.conf file: web.maximum_config_file_size=128 You must also find and change the following line in the /etc/rhn/default/rhn_server.conf file to the same value: maximum_config_file_size=128 Change the value in both files from 128 to the desired value in kilobytes. Moving to release_pending.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html
Opening BZ to public so it's more visible.