Re: [Spacewalk-devel] [PATCH] - BZ#765816 - Add an option into rhncfg-manager to allow file/directory to be uploaded without setting a SELinux context

2011-12-13 Thread Miroslav Suchy
Dne 13.12.2011 17:34, Marcelo Moreira de Mello napsal(a): Thanks your guidelines. I merged all the fixes into a unique patch which follow attached. Please let me know if some change is still needed. Commited as: * 317d907 (HEAD, tag: rhncfg-5.10.22-1, origin/master, origin/HEAD, master) Auto

Re: [Spacewalk-devel] [PATCH] - BZ#765816 - Add an option into rhncfg-manager to allow file/directory to be uploaded without setting a SELinux context

2011-12-13 Thread Marcelo Moreira de Mello
Hello Mirek, This part: +selinux_ctx = None +if type(self.options.selinux_context) != None: +selinux_ctx = self.options.selinux_context +else: +selinux_ctx = '' and +if type(selinux_ctx) == str: +params.update({ +

Re: [Spacewalk-devel] [PATCH] - BZ#765816 - Add an option into rhncfg-manager to allow file/directory to be uploaded without setting a SELinux context

2011-12-13 Thread Miroslav Suchý
On 12/12/2011 07:15 PM, Marcelo Moreira de Mello wrote: Hello team, Follow attached 2 patches which introduces to rhncfg-manager a new functionality to allow a file to be uploaded to Spacewalk server overwriting the SELinux context at command line. The second patch adds the option into the rhnc