[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit hook completely fails

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Wed, 7 May 2008 03:45:30 -0500

On May 7, 2008, at 2:05 AM, Lorenz wrote:

> Anthony Lieuallen wrote:
>> [...]
>> Committed revision 1.
>>
>> Warning: 'post-commit' hook failed with error output:
>
> that is weird!?
> The exit code of a post-anything hook is ignored (as far as I know -
> and I've just put an "exit 1" at the end of the post-commit hook of my
> test repository)

Hmm... Good point...

> You are sure that execution right are set properly? Because can't
> imagine anything besides the hook not being executable at all that
> could cause such effect (but that may originate in lack of imagination
> 8-).

Are you running SELinux and if so have you used chcon to set the
security context so that the svnserve or apache process can execute
the hook script? This may be relevant:

http://subversion.tigris.org/faq.html#reposperms

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-07 10:46:07 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.