> Hi Tomas, > > Even though i tried both of them (webui and rhncfg-manager ),they > cannot work as properly. > > Version: > rpm -qf /usr/bin/rhncfg-manager > rhncfg-management-5.10.73-1.el6.noarch > > Actually i found something that can be help us to resolve this cause, > so if a file has no set selinux context it cannot upload to > spacewalk server.
Hello, this is a good point. So, I tried to disable selinux on a RHEL6.5 machine, rebooted and created couple of files with no selinux context. I was able to successfully upload them using 'rhncfg-manager add <file> -c <config-channel>'. I tried the upload with both rhncfg-management-5.10.55-11.el6sat.noarch and rhncfg-management-5.10.79-1.el6.noarch. Checking the code, there have been some changes done in this area after 5.10.73-1 (your version). See: https://github.com/spacewalkproject/spacewalk/commit/473681d5a0e5240b3294e4057ce224d43c01a1ea https://github.com/spacewalkproject/spacewalk/commit/102ffed86c3bc0ecbb73c3bb3b0b354eab7a8365 (Additionally you may check https://bugzilla.redhat.com/show_bug.cgi?id=1148250, 2nd commit fixes the issue.) Feel free to apply them and check, whether they resolve your issue (of course without your /usr/lib64/python2.6/xmlrpclib.py patch). Regards, -- Tomas Lestach Red Hat Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list