This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MIPS build slave
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Brendan Kirby <brendan dot kirby at imgtec dot com>
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>, <gdb-patches at sourceware dot org>
- Date: Mon, 20 Jul 2015 20:14:42 -0400
- Subject: Re: MIPS build slave
- Authentication-results: sourceware.org; auth=none
- References: <CAFXXi0n=5hwk0JE82gz_QEytsU0P36=4AbNdj_1wt1zmph28bw at mail dot gmail dot com> <55A9E3F5 dot 3090902 at imgtec dot com> <87fv4kswuh dot fsf at redhat dot com> <55AD543B dot 5010301 at imgtec dot com> <87fv4iczgm dot fsf at redhat dot com> <55AD8A7F dot 3080009 at imgtec dot com>
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/