Red Hat Network Satellite is unable to work with configuration channel files with Red Hat Enterprise Linux 6 clients when SELinux is disabled

Solution Verified - Updated -

Issue

  • When attempting to import or compare files in a configuration channel from Red Hat Network Satellite 5.4 with a Red Hat Enterprise Linux 6 server, it returns the message "Fatal error in Python code occured [[6]]"

    /var/log/up2date 
    [Thu Jan 27 15:04:43 2011] up2date updateLoginInfo() login info
    [Thu Jan 27 15:04:43 2011] up2date logging into up2date server
    [Thu Jan 27 15:04:43 2011] up2date successfully retrieved authentication token from up2date server
    [Thu Jan 27 15:04:43 2011] up2date
    Traceback (most recent call last):
      File "/usr/sbin/rhn_check", line 283, in __run_action
        (status, message, data) = CheckCli.__do_call(method, params)
      File "/usr/sbin/rhn_check", line 276, in __do_call
        retval = method(*params)
      File "/usr/share/rhn/actions/configfiles.py", line 186, in upload
        result = r.put_files(action_id, files)
      File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 109, in put_files
        load_contents=upload_contents)
      File "/usr/share/rhn/config_common/repository.py", line 189, in _make_file_info
        params.update(self._make_stat_info(local_path, file_stat))
      File "/usr/share/rhn/config_common/repository.py", line 135, in _make_stat_info
        ret['selinux_ctx'] = lgetfilecon(path)[1]
    <type 'exceptions.OSError'>: [Errno 61] No data available
    

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.