[Buildbot-devel] interrupting a sudo job...

Vitali Lovich vlovich at gmail.com
Sat Apr 4 09:04:21 UTC 2015


I have also tried usePTY=True to no avail.

> On Apr 4, 2015, at 12:10 AM, Vitali Lovich <vlovich at gmail.com> wrote:
> 
> Hi,
> 
> It seems like buildbot can’t kill a long-running job that was invoked via sudo.
> Is there any kind of workaround?  Am I doing something wrong?
> 
> The command I’m invoking is something like:
> 
> sudo -E wrapper_exe sudo -E -u <username> <real command>
> 
> The reason is that wrapper_exe needs sudo permissions to setup the environment.
> Then it drops back into the real permissions to invoke the real command.
> 
> Thanks,
> Vitali





More information about the devel mailing list