Translated message

A translation of this page exists in English.

subscription-manager パッケージの rhsmd が、"DeprecationWarning: Call to deprecated function: hasNow" の警告メッセージを表示します

Solution Verified - Updated -

Issue

  • subscription-manager パッケージの /usr/libexec/rhsmd は、実行時に警告メッセージを表示する warning_range.hasNow() 関数 (廃止) を使用しています。この警告メッセージは、通常、/etc/cron.daily/rhsmd cron ジョブを実行すると表示され、root に電子メールが送信されます。

  • RHEL 5 の警告メッセージ:

/usr/lib64/python2.4/site-packages/rhsm/certificate.py:123:DeprecationWarning:Call to deprecated function: hasNow
  category=DeprecationWarning)
  • RHEL 6 の警告メッセージ:
/usr/lib64/python2.6/site-packages/rhsm/certificate.py:123:DeprecationWarning:Call to deprecated function: hasNow
  category=DeprecationWarning)

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content