subscription-manager command gets always stuck, strace shows regular checking /var/run/rhsm/cert.pid only

Solution Verified - Updated -

Issue

  • subscription-manager command gets stuck on various subcommands including register or repos --list
  • running the command under strace shows repetitive checking of file /var/run/rhsm/cert.pid only

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • subscription-manager

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