Red Hat Bugzilla – Bug 1334650
Cron weekly katello-remove-orphans warnings sending mail
Last modified: 2016-09-14 17:00:29 EDT
Description of problem: The weekly cron is giving output of ruby warnigns. This sends an unneeded cron mail: /etc/cron.weekly/katello-remove-orphans: /opt/theforeman/tfm/root/usr/share/gems/gems/docker-api-1.17.0/lib/docker.rb:103: warning: circular argument reference - connection /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/config/routes/overrides.rb:3: warning: already initialized constant Katello::WhitelistConstraint::PATHS /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/config/routes/overrides.rb:3: warning: previous definition of PATHS was here Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run /etc/cron.weekly/katello-remove-orphans from the commandline 2. 3. Actual results: output of warnigns to stdout Expected results: no output on stdout Additional info:
Created redmine issue http://projects.theforeman.org/issues/15823 from this bug
Upstream bug component is WebUI
Moving to POST since upstream bug http://projects.theforeman.org/issues/15823 has been closed
Verified in Satellite 6.2.2. After running the script multiple times, no output seen in stdout.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1885