gitolite-admin触发器POST_COMPILE失败

时间:2015-07-01 09:50:57

标签: git gitolite

我尝试将另一个用户添加到我的gitolite配置中。这是我在日志中看到的:

    2015-06-30.23:12:12     10361   pre_git gitolite-admin  marcin  W       any     refs/.*
    2015-06-30.23:12:12     10361           system,git,shell,-c,git-receive-pack '/share/Projects/githome/repositories/gitolite-admin.git'
    2015-06-30.23:12:15     10361   update  gitolite-admin  marcin  W       refs/heads/master       6c3c809a3656ed37097605562ac43cfd87d251ea        1d02b5874b46463c86831fefad4225bf6b5e7f47        refs/.*
    2015-06-30.23:12:17     10361           system,gitolite compile
    2015-06-30.23:12:21     10361           system,gitolite trigger POST_COMPILE
    2015-06-30.23:12:23     10361           system,/share/HDA_DATA/Projects/githome/gitolite/src/triggers/post-compile/ssh-authkeys,POST_COMPILE
    2015-06-30.23:12:26     10361   die     fingerprinting failed for '/tmp/0j7vu4KyoE'
    2015-06-30.23:12:26     10361           system() failed,/share/HDA_DATA/Projects/githome/gitolite/src/triggers/post-compile/ssh-authkeys,POST_COMPILE,-> 6400
    2015-06-30.23:12:26     10361           system() failed,gitolite trigger POST_COMPILE,-> 6400
    2

我好几次回复这个回购,它工作了两年没有问题。 我该如何排除故障?

1 个答案:

答案 0 :(得分:0)

我分析了src / triggers / post-compile / ssh-authkeys gitolite perls脚本,发现ssh-keygen -l -f $ f返回错误。 键是可以的,但脚本生成的临时文件包含来自authorized_keys文件的行。这些文件是空的,因为设备上没有剩余空间:)