savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] mail-sending error from git server updatin


From: Paul Smith
Subject: Re: [Savannah-hackers-public] mail-sending error from git server updating emacs "concurrency" branch
Date: Thu, 05 Nov 2015 15:07:56 -0500

On Thu, 2015-11-05 at 12:54 -0700, Bob Proulx wrote:
> > > remote:   File "/srv/git/emacs.git/hooks/git_multimail.py", line 1472, in 
> > > send
> > > remote:     p.terminate()
> > > remote:   File "/usr/lib/python2.6/subprocess.py", line 1269, in terminate
> > > remote:     self.send_signal(signal.SIGTERM)
> > > remote:   File "/usr/lib/python2.6/subprocess.py", line 1264, in 
> > > send_signal
> > > remote:     os.kill(self.pid, sig)
> > > remote: OSError: [Errno 1] Operation not permitted
> 
> "Operation not permitted" seems both clear and confusing at the same
> time.  I mean, what operation?  And why wasn't it permitted?

It looks like the code is trying to send SIGTERM to this PID (using
kill(2) underneath I expect), and it's failing with errno 1 "operation
not permitted".  That's all the error info we get back from the OS, so
there's no way to know exactly why it wasn't permitted.

That seems odd because the most obvious reason for this is that you're
not the owner of the PID, but doesn't this code actually start that PID?
Maybe it's setuid?  Well, you're right that the only way to find out
more is read the code in git_multimail.py to see exactly what's going
on.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]