How do I make sosreport write to an alternative location?

Solution Verified - Updated -

Issue

  • Is there a way to force sosreport to use a different directory than /tmp?
  • sosreport fails because there is not enough space in /tmp.

Environment

  • Red Hat Enterprise Linux 4.6 and later
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • sosreport

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In