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 /etc/sysconfig/rhn/rhn-ssl-cert-check 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" return elif rpm -q rhns-satellite-tools >& /dev/null; then echo "server.satellite" return fi }
Indeed, the bug is there and change from rhn-proxy-broker to rhns-proxy-broker will fix it. Commited into trunk (rev. 115731).
The package was not build before last push. I build it and we'll need to wait for next QA push.
moving ON_QA.
verified
On a second look I need to confirm the steps before I verify it. Putting it back to on_qa
On a proxy system: [root@newman ~]# sh /etc/cron.daily/rhn-ssl-cert-check [root@newman ~]# Moving to release pending.
Closed for Satellite 500 Release.