Bug 234586 - rhn-ssl-cert-check doesn't recognise traceback_mail setting in /etc/rhn/rhn.conf
rhn-ssl-cert-check doesn't recognise traceback_mail setting in /etc/rhn/rhn.conf
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Other (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Miroslav Suchý
Preethi Thomas
Depends On:
Blocks: 232441
  Show dependency treegraph
Reported: 2007-03-30 07:59 EDT by spark
Modified: 2007-06-25 22:30 EDT (History)
1 user (show)

See Also:
Fixed In Version: sat500
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-25 22:30:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description spark 2007-03-30 07:59:59 EDT
Description of problem:
rhn-ssl-cert-check returns:

"Unable to read the admin e-mail address in /etc/rhn/rhn.conf

To disable monitoring, add CHECK=no in /etc/sysconfig/rhn/rhn-ssl-cert-check

Otherwise, you will have to add a valid email address to receive

expiration notifications, either in /etc/rhn/rhn.conf (traceback_mail)

or set ADMIN in /etc/sysconfig/rhn/rhn-ssl-cert-check

even when traceback_mail is correctly set in /etc/rhn/rhn.conf

How reproducible:
Every time on an rhn-proxy system. I can't check, but I assume this wouldn't be
reproducible on a satellite.

Steps to Reproduce:
1. Set traceback_mail in /etc/rhn/rhn.conf and ensure ADMIN is not set in
2. Run /etc/cron.daily/rhn-ssl-cert-check
Actual results:
Error shown above

Expected results:
No error

Additional info:
It seems that the cause of the problem is in the script rhn-ssl-cert-check in
the method get_rhn_component (copied below), the check is for rhn-proxy-broker.
This package does not exist -- it is called rhns-proxy-broker.

get_rhn_component() {

    # Identify the RHN component

    if rpm -q rhn-proxy-broker >& /dev/null; then

        echo "proxy.broker"


    elif  rpm -q rhns-satellite-tools >& /dev/null; then

        echo "server.satellite"



Comment 2 Miroslav Suchý 2007-05-02 12:39:15 EDT
Indeed, the bug is there and change from rhn-proxy-broker to rhns-proxy-broker
will fix it. Commited into trunk (rev. 115731).
Comment 3 Miroslav Suchý 2007-05-04 04:05:47 EDT
The package was not build before last push. I build it and we'll need to wait
for next QA push.
Comment 4 Miroslav Suchý 2007-05-09 04:04:01 EDT
moving ON_QA.
Comment 6 Preethi Thomas 2007-05-21 14:41:48 EDT
Comment 7 Preethi Thomas 2007-05-21 14:47:44 EDT
On a second look I need to confirm the steps before I verify it. Putting it back
to on_qa
Comment 8 Preethi Thomas 2007-05-24 09:34:15 EDT
Comment 9 Devan Goodwin 2007-06-20 16:25:05 EDT
On a proxy system:

[root@newman ~]# sh /etc/cron.daily/rhn-ssl-cert-check
[root@newman ~]# 

Moving to release pending.
Comment 10 Brandon Perkins 2007-06-25 22:30:43 EDT
Closed for Satellite 500 Release.

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