This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS build slave


On Monday, July 20 2015, Brendan Kirby wrote:

> When I run it manually, it generates no output and it exits with 0.  I'm
> not sure what it's supposed to do, but if it's a test, I'm guessing the
> test passed.  Maybe it isn't passing in the Buildbot because of the
> SHELL environment variable being set wrong like Simon suggested?  I've
> fixed the systemd service file to set the SHELL environment variable to
> /bin/bash before starting the Buildbot slave.  So, that problem should
> be resolved now.

Yeah, I think Simon hit the nail about the problem: if $SHELL is nologin
GDB will get confused about things.  In this case, the easier solution
is to use /bin/{,ba}sh as the buildslave user's shell.  Can you do that?
You can still edit you /etc/ssh/sshd_config and disallow the buildslave
there.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]