[Nix-dev] 'Cannot kill processes' when using build users group on snow leopard

Eelco Dolstra e.dolstra at tudelft.nl
Fri Mar 19 11:33:50 CET 2010


Hi,

Nathaniel Griswold wrote:

> error: cannot kill processes for uid `50001': failed due to signal 9 (Killed)

Interesting.  That seems to imply that the child process responsible for killing
the processes running under the build uid gets killed itself.  The child does a
kill(-1, SIGKILL), which should not kill the caller according to the manpage:

If pid is -1:
    If the user has super-user privileges, the signal is sent to all processes
excluding system processes and the process sending the signal.  If the user is
not the super user, the signal is sent to all processes with the same uid as the
user, excluding the process sending the signal.  No error is returned if any
process could be signaled.

But maybe it doesn't actually behave that way on Mac OS X...

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list