Satellite 5.4: 'rhncfg-client get' fails with a Traceback instead of deploying files

Solution Verified - Updated -

Issue

  • 'rhncfg-client get'or'rhncfg-client get <file>' result in a python Traceback:

rhncfg-client get /root/file: false
Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 34, in ?
    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/rhncfgcli_get.py", line 62, in run
    dep_trans.add_preprocessed(path, processed_path, file_info, dirs_created)
  File "/usr/share/rhn/config_common/transactions.py", line 188, in add_preprocessed
    self._chown_chmod_chcon(processed_file_path, dest_path, file_info, strict_ownership=strict_ownership)
  File "/usr/share/rhn/config_common/transactions.py", line 145, in _chown_chmod_chcon
    mode = string.atoi(str(mode), 8)
  File "/usr/lib64/python2.4/string.py", line 403, in atoi
    return _int(s, base)
ValueError: invalid literal for int():

Environment

  • Red Hat Network Satellite 5.4
  • Spacewalk 1.5 (nightly build)
  • rhncfg-client-5.9.27-15.el5

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