Re: [Spacewalk-devel] Remote commands temporary file location

2011-05-31 Thread Luc de Louw
On 05/30/2011 02:27 PM, Matteo Sessa wrote: Hi all, I'm regularly using spacewalk to issue remote commands on my systems after configuration files deploy and I've noticed that the /usr/share/rhn/actions/script.py library that perform the script execution temporarily write the provided script

Re: [Spacewalk-devel] Remote commands temporary file location

2011-05-31 Thread Matteo Sessa
- Original Message - From: Luc de Louw l...@delouw.ch To: spacewalk-devel@redhat.com Sent: Tuesday, May 31, 2011 9:31:03 AM Subject: Re: [Spacewalk-devel] Remote commands temporary file location Hi, Unfortunately the noexec mount option does not help that much to prevent executing

Re: [Spacewalk-devel] Remote commands temporary file location

2011-05-31 Thread Matteo Sessa
Hi, Attached is a patch to implement solution #2 from my previous request. /usr/share/rhn/actions/script.py now imports some libs for configuration file access and reads script_tmp_dir parameter from rhncfg-client.conf, if unset it will fallback to the previous behavior and use /tmp as usual.

Re: [Spacewalk-devel] Remote commands temporary file location

2011-05-31 Thread Matteo Sessa
A quick fix to the patch. I've missed an mkdir in the spec. Now it builds correctly. - Original Message - From: Matteo Sessa matteo.se...@dbmsrl.com To: spacewalk-devel@redhat.com Sent: Tuesday, May 31, 2011 11:40:53 AM Subject: Re: [Spacewalk-devel] Remote commands temporary file

Re: [Spacewalk-devel] Missing python import in HEAD

2011-05-31 Thread Jan Pazdziora
On Tue, May 31, 2011 at 01:27:06PM +0200, Matteo Sessa wrote: Hi, commit 1a95582f4079fb92566daf491bd2c542f00865b6 introduced a regression in client/tools/rhncfg/actions/configfiles.py adding sys.path.append('/usr/share/rhn') without prior importing sys package. Patch attached. Applied

[Spacewalk-devel] [PATCH] - RHBZ#709365 - kickstart.deleteProfiles does not return 0 on kickstart not found

2011-05-31 Thread Marcelo Moreira de Mello
Hello, This patch fixes the documentation for kickstart API when a kickstart is not found. Cheers, Marcelo Moreira de Mello -- Marcelo Moreira de Mello RHCA RHCSS RHCVA Software Maintenance Engineer/SEG gpg id: 2048R/FDB110E5 gpg fingerprint: 3BE7 EF71 4DD7 6812 D309 8F18 BD42

Re: [Spacewalk-devel] [PATCH] - RHBZ#709365 - kickstart.deleteProfiles does not return 0 on kickstart not found

2011-05-31 Thread Marcelo Moreira de Mello
Hello, Please, use this patch attached which I fixed a typo at successful word. Please, ignore the patch sent previously. Thanks. Cheers, Marcelo On 05/31/2011 01:30 PM, Marcelo Moreira de Mello wrote: Hello, This patch fixes the documentation for kickstart API when a kickstart is not