[Spacewalk-devel] [PATCH] Proposal to remove filesystem dependencies from ConfigTest

2013-10-01 Thread Silvio Moioli
Hi, ConfigTest at the moment relies on some config files to be in a fixed filesystem path (/usr/share/rhn/unit-tests/conf). This can be inconvenient because, among other things, writing to /usr requires root access. The attached patch proposes a self-contained solution where those files are

[Spacewalk-devel] [PATCH] spacecmd: Fix session validation

2013-10-01 Thread David Juran
Turns out that although spacewalk (Red Hat Satellite 5.5) takes a session argument for the api.getApiNamespaces() API call, this session is not validated, i.e. the call will succeed no matter if the session is valid or not. Which makes this particular call quite a bad choice validating the