开发者

SVN hooks stopped working suddenly

开发者 https://www.devze.com 2023-01-27 19:44 出处:网络
Our hooks have stopped working suddenly. All was working fine and suddenly stopped - no updates have been done to env. whatsoever.

Our hooks have stopped working suddenly. All was working fine and suddenly stopped - no updates have been done to env. whatsoever.

To add to this, hook is working when executed as开发者_StackOverflow中文版 a apache user in shell but not when committing through apache http.

All prvilages are fine and as I wrote above all was working fine before with same settings... any ideas?

subversion ver: 1.6.6 apache ver: 2.2.3

i.e. this is a hook which we testing on:

#!/bin/sh
/bin/touch /tmp/svn-hook-worked


OK, so the problem have been related to something different but somehow connected.

I have set /dev/null in syslog-nd for mail, and as it turnes out its changing ownership of /dev/null to root so svn and other stuff can't use it which was causing those problems above.

cheers, /Marcin

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号