Satellite Sync is failing with "OSError: [Errno 22] Invalid argument:" error for some packages.

Solution Verified - Updated -

Issue

  • Satellite Sync is failing with "OSError: [Errno 22] Invalid argument:" error for some packages:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/share/rhn/satellite_tools/satsync.py", line 2141, in run
    rpmManip.write_file(stream)
  File "/usr/share/rhn/satellite_tools/syncLib.py", line 204, in write_file
    setPermsPath(self.full_path, user='apache', group='apache', chmod=0644)
  File "/usr/lib/python2.4/site-packages/spacewalk/common/fileutils.py", line 315, in setPermsPath
    os.chown(path, uid, gid)
OSError: [Errno 22] Invalid argument: '/var/satellite/redhat/NULL/42f/samba3x-common/0:3.5.10-0.109.el5_8/i386/42fb9392764aaf540935be8c1156b4dc/samba3x-common-3.5.10-0.109.el5_8.i386.rpm'

Environment

  • Red Hat Satellite 5.4
  • /var/satellite mounted on NFS

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.