OSError when running "rhncfg-client diff" with undeployed symlink from RHN Satellite 5.4

Solution Verified - Updated -

Issue

  • Running a "rhncfg-client diff" on system subscribed to Satellite Configuration Channel fails with:
# rhncfg-client diff
Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 34, in <module>
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 187, in main
    handler.run()
  File "/usr/share/rhn/config_client/handler_base.py", line 66, in run
    self._process_file(src, dst, file, ftype, file_info)
  File "/usr/share/rhn/config_client/rhncfgcli_diff.py", line 37, in _process_file
    destlink = os.readlink(dst)
OSError: [Errno 2] No such file or directory: '/opt/simpana/Base/FwHosts.txt'

Environment

  • Red Hat Network Satellite 5.4

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.