Joshua Roys wrote:
Hello all,
Attached is a patch to kill another bug in the configuration management
w/selinux. Specifically, backend/server/configFilesHandler.py ended up
calling the old version of lookup_config_info, which caused all file
uploads to fail in an ISE. In fixing this, I also added functionality
to upload the selinux context of files to spacewalk in
client/tools/rhncfg/config_common/repository.py . The other changes are
for completeness, as they look like they could cause problems in the
future.
Hopefully this is the last bug - sorry I didn't squash them earlier!
Thx. But:
a) can you send nex time patch created using: git format-patch? This
way you will get credit in git history.
b) "from selinux import getfilecon" will fail on RHEL/Centos 4.
I wrapped it into try/except block and in case of failure define new
function getfilecon which returns [0, ''].
I aplied it to master. Commit: e38cfbaa329ea8814ea12014ffacb3b61d6bcbb9
--
Miroslav Suchy
Red Hat Satellite Engineering
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel