Bug 1528852 - SMTP server missing in rhn.conf man page
Summary: SMTP server missing in rhn.conf man page
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jiří Dostál
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat5-cfu
TreeView+ depends on / blocked
 
Reported: 2017-12-24 15:14 UTC by Candace Sheremeta
Modified: 2021-03-11 16:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-01 13:13:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3278211 0 None None None 2017-12-24 15:18:25 UTC

Description Candace Sheremeta 2017-12-24 15:14:58 UTC
[RFE] Add variable for SMTP server to rhn.conf file and description in rhn.conf man page

Comment 2 Tomas Lestach 2018-01-02 12:56:19 UTC
java.smtp_server is already a valid configuration variable:

# grep -B2 -r java.smtp_server /usr/share/rhn/config-defaults/
/usr/share/rhn/config-defaults/rhn_java.conf-# Hostname/IP of an SMTP server for sending notifications and traceback
/usr/share/rhn/config-defaults/rhn_java.conf-# alerts to Satellite users
/usr/share/rhn/config-defaults/rhn_java.conf:java.smtp_server = localhost

and can be overridden in rhn.conf anytime.

If this was added to the rhn.conf file, it would just be a duplication of the rhn_java.conf entry.


All the parameters in /usr/share/rhn/config-defaults/rhn*.conf can be overridden in rhn.conf. They're simply not listed in rhn.conf as most users use the defaults anyway and we try to keep the file as short as possible.

We however may consider adding the config param(s) to the man page

Comment 3 Candace Sheremeta 2018-01-02 14:42:56 UTC
removed edits from rhn.conf file per comment 2

Comment 4 Jiří Dostál 2018-01-03 09:19:25 UTC
At the current state of PR, I've merged your commit as eb58d2346858984ae0ca0c42c4e98cdaf6cd6049


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