Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-05 Thread foven
On Fri, Dec 4, 2015 at 11:25 AM, Mark Phippard wrote: > On Fri, Dec 4, 2015 at 11:19 AM, foven wrote: > >> On Thu, Dec 3, 2015 at 8:20 PM, Mark Phippard wrote: >> >>> What I was thinking is that the hook they've installed would have >>> something in it to work in the ssh environment they've con

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-04 Thread Nico Kadel-Garcia
Is SELinux enabled?

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-04 Thread Thorsten Schöning
Guten Tag foven, am Donnerstag, 3. Dezember 2015 um 21:55 schrieben Sie: > AuthorizedKeysCommand /usr/libexec/phabricator-ssh-hook.sh > AuthorizedKeysCommandUser vcs Did you have a look at that script, is it maybe doing more than just authorization? Does it handle svn+ssh different from if you ss

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-04 Thread Mark Phippard
On Fri, Dec 4, 2015 at 11:19 AM, foven wrote: > On Thu, Dec 3, 2015 at 8:20 PM, Mark Phippard wrote: > >> What I was thinking is that the hook they've installed would have >> something in it to work in the ssh environment they've configured and be >> able to call your hook as their docs describe

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-04 Thread foven
On Thu, Dec 3, 2015 at 8:20 PM, Mark Phippard wrote: > What I was thinking is that the hook they've installed would have > something in it to work in the ssh environment they've configured and be > able to call your hook as their docs describe. > > Mark > > Sent from my iPad > > On Dec 3, 2015, a

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread Mark Phippard
What I was thinking is that the hook they've installed would have something in it to work in the ssh environment they've configured and be able to call your hook as their docs describe. Mark Sent from my iPad > On Dec 3, 2015, at 5:39 PM, foven wrote: > >> On Thu, Dec 3, 2015 at 4:02 PM, Mar

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread foven
On Thu, Dec 3, 2015 at 4:02 PM, Mark Phippard wrote: > Given that you are using Phabricator, have you tried this? > > https://secure.phabricator.com/book/phabricator/article/diffusion_hooks/ > > > > On Thu, Dec 3, 2015 at 3:55 PM, foven wrote: > >> On Thu, Dec 3, 2015 at 2:54 PM, wrote: >> >>>

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread Mark Phippard
Given that you are using Phabricator, have you tried this? https://secure.phabricator.com/book/phabricator/article/diffusion_hooks/ On Thu, Dec 3, 2015 at 3:55 PM, foven wrote: > On Thu, Dec 3, 2015 at 2:54 PM, wrote: > >> >> On Dec 3, 2015, at 9:40 AM, foven wrote: >> >> On Wed, Dec 2, 201

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread foven
On Thu, Dec 3, 2015 at 2:54 PM, wrote: > > On Dec 3, 2015, at 9:40 AM, foven wrote: > > On Wed, Dec 2, 2015 at 9:50 PM, Nico Kadel-Garcia > wrote: > >> On Wed, Dec 2, 2015 at 2:12 PM, foven wrote: >> >> > I looked at the output of "journalctl -n 50", which seems to be enough >> > to see all th

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread jblist
> On Dec 3, 2015, at 9:40 AM, foven wrote: > > On Wed, Dec 2, 2015 at 9:50 PM, Nico Kadel-Garcia > wrote: > On Wed, Dec 2, 2015 at 2:12 PM, foven > wrote: > > > I looked at the output of "journalctl -n 50", which seems to be enough > > to see

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-03 Thread foven
s vcs to sudo to the phd user and run this command: svnserve -t --tunnel-user=foven So phd is running svnserve, but it is tunneling the user through. I'm not sure how/if that affects anything. Again, commits work fine this way if the pre-commit script is not present. Otherwise the client

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread Nico Kadel-Garcia
On Wed, Dec 2, 2015 at 2:12 PM, foven wrote: > I looked at the output of "journalctl -n 50", which seems to be enough > to see all that is logged for a commit attempt. I also checked > /var/log/secure. I didn't see anything that seemed obviously wrong to > me either way, although it is possible

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread foven
On Wed, Dec 2, 2015 at 3:07 PM, Philip Martin wrote: > foven writes: > > > On Wed, Dec 2, 2015 at 11:28 AM, wrote: > > > >> > >> > On Dec 2, 2015, at 9:11 AM, foven wrote: > >> > > >> > Thanks for the reply. > >> > > >> > If the user running the script just needs to have read and execute > >>

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread Philip Martin
foven writes: > On Wed, Dec 2, 2015 at 11:28 AM, wrote: > >> >> > On Dec 2, 2015, at 9:11 AM, foven wrote: >> > >> > Thanks for the reply. >> > >> > If the user running the script just needs to have read and execute >> > permission, then if the file has permissions like this: >> > >> > -rwxr-xr

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread foven
On Wed, Dec 2, 2015 at 11:28 AM, wrote: > > > On Dec 2, 2015, at 9:11 AM, foven wrote: > > > > Thanks for the reply. > > > > If the user running the script just needs to have read and execute > > permission, then if the file has permissions like this: > > > > -rwxr-xr-x 1 phd phd 37 Nov 18

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread jblist
> On Dec 2, 2015, at 9:11 AM, foven wrote: > > Thanks for the reply. > > If the user running the script just needs to have read and execute > permission, then if the file has permissions like this: > > -rwxr-xr-x 1 phd phd 37 Nov 18 14:39 pre-commit > > shouldn't it work no matter who t

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-02 Thread foven
Thanks for the reply. If the user running the script just needs to have read and execute permission, then if the file has permissions like this: -rwxr-xr-x 1 phd phd 37 Nov 18 14:39 pre-commit shouldn't it work no matter who the user running the script is? That is how the permissions have

Re: Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-01 Thread Ryan Schmidt
vn: E165001: Commit blocked by pre-commit hook > (exit code 255) with no output". > > This error seems to occur independent of the actual script. It happens > when using the default hook installed by Phabricator and also occurs > with very simple hooks like the following:

Commit blocked by pre-commit hook (exit code 255) with no output.

2015-12-01 Thread foven
of my issue here: http://stackoverflow.com/questions/33789148/svn-e165001-commit-blocked-by-pre-commit-hook-exit-code-255-with-no-output I'm not sure if I should replicate that post entirely here or try to provide the parts that I feel may be more useful and try to avoid what may be useless detail.

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Qazwart
On Apr 15, 2012, at 4:54 PM, Armando Perico wrote: > I actually don't have an apache user running, however, when I run it > manually, the script works fine, am I missing anything ? Of course you do! Otherwise, how could a file be "owned" by user "apache"? Check the /etc/passwd file. There's

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Les Mikesell
On Sun, Apr 15, 2012 at 4:56 PM, Armando Perico wrote: > I'm under linux and double checked for windows CRLFs. > I turned SELinux off ... the error continues And you can log in and execute it as the apache user? If apache doesn't have a login shell, start as root and 'su -s /bin/bash - apache',

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Armando Perico
I'm under linux and double checked for windows CRLFs. I turned SELinux off ... the error continues On Sun, Apr 15, 2012 at 11:38 PM, Les Mikesell wrote: > On Sun, Apr 15, 2012 at 3:46 PM, Armando Perico wrote: > > SELinux is off. > > +x has been set. > > #!/bin/sh seems ok for me. > > Can you ex

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Les Mikesell
On Sun, Apr 15, 2012 at 3:46 PM, Armando Perico wrote: > SELinux is off. > +x has been set. > #!/bin/sh seems ok for me. Can you execute it directly?Having a Windows style CRLF line ending on the #!/bin/sh line might prevent it from working and be hard to see. Otherwise, if you can execute

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Armando Perico
ould be nice to be able to debug it better (like a call stack or > > something), but the message bellow is all I managed to get. > > * svn: Commit blocked by pre-commit hook (exit code 255) with no output > > > > On Sun, Apr 15, 2012 at 10:02 PM, Daniel Shahaf >wrote: > > &

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Qazwart
> sorry about the cc, my bad. > > I really don't know what else to do... I tried a lot already. > > Would be nice to be able to debug it better (like a call stack or something), > but the message bellow is all I managed to get. > * svn: Commit blocked by pre-commit h

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
+0200: > sorry about the cc, my bad. > > I really don't know what else to do... I tried a lot already. > > Would be nice to be able to debug it better (like a call stack or > something), but the message bellow is all I managed to get. > * svn: Commit blocked by pre-commit hook

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Armando Perico
sorry about the cc, my bad. I really don't know what else to do... I tried a lot already. Would be nice to be able to debug it better (like a call stack or something), but the message bellow is all I managed to get. * svn: Commit blocked by pre-commit hook (exit code 255) with no output O

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
pre-commit > > ls -dl testrepo/hooks/ > > > > Armando Perico wrote on Sun, Apr 15, 2012 at 13:02:35 +0200: > > > Hello, > > > > > > I'm having problems with hook scripts (pre-commit or post-commit) > > > - When I try to commit, the svn c

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Qazwart
svn commit is not performing completely, it > is returning "Commit blocked by pre-commit hook (exit code 255) with no > output" > > It passed a long while that I am trying to fix this problem without > having no solution. I tried and read lots of things (here and in other > p

Re: Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Daniel Shahaf
ely, it > is returning "Commit blocked by pre-commit hook (exit code 255) with no > output" > > It passed a long while that I am trying to fix this problem without > having no solution. I tried and read lots of things (here and in other > places) and none seems to be working

Commit blocked by pre-commit hook (exit code 255) with no output

2012-04-15 Thread Armando Perico
Hello, I'm having problems with hook scripts (pre-commit or post-commit) - When I try to commit, the svn commit is not performing completely, it is returning "Commit blocked by pre-commit hook (exit code 255) with no output" It passed a long while that I am trying to fix this