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

2011-06-16 Thread Jan Pazdziora
On Mon, Jun 13, 2011 at 09:59:53AM +0200, Matteo Sessa wrote: Is there a chance of having this committed for the upcoming release? I've internally backported the patch to the stable rhncfg-5.9.52. I'm actively using that in production and it's doing quite well. I have committed your patch

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

2011-06-13 Thread Matteo Sessa
To: spacewalk-devel@redhat.com Sent: Tuesday, May 31, 2011 12:28:58 PM Subject: Re: [Spacewalk-devel] Remote commands temporary file location 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

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

[Spacewalk-devel] Remote commands temporary file location

2011-05-30 Thread Matteo Sessa
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 inside /tmp/rhn-remote-script by default.

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

2011-05-30 Thread Miroslav Suchy
Dne 30.5.2011 14:27, Matteo Sessa napsal(a): 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 inside