[Spacewalk-list] spacewalk-repo-sync and cron

Thomas Bendler ml at bendler-net.de
Mon Nov 30 14:29:07 UTC 2009


Hi Jonathan,

On Mon, Nov 30, 2009 at 2:57 AM, Jonathan Scott <lists at xistenz.org> wrote:

> [...]
> The script which is called from cron has no issues retrieving the metadata
> when executed manually.  It is only when the cron executes it that it errors
> out.  The "cannot retrieve" error its self states to "please verify its path
> and try again" as if it is having problems reading from the /var/cache
> directory even though it is root's crontab where the script is executed.
>  Which leads me to believe it has something to do with a variable of
> some-sort but I cannot figure out what that would be (and why).
>

do you have SELinux turned on? The context of cron is different compared to
the normal root login.

Regards, Thomas
-- 
thomas bendler         (systemadministration/network/SAP)
cimt consulting ag                       fon: +49 (163) 6081 302
burchardstrasse 17                      fax: +49 (40) 5 33 02-22
20095 hamburg                                  http://www.cimt.de/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091130/61fc39e7/attachment.htm>


More information about the Spacewalk-list mailing list