Actions
Bug #15823
closedCron weekly katello-remove-orphans warnings sending mail
Difficulty:
easy
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1334650
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:
Actions