From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70155 invoked by alias); 21 Jul 2015 01:50:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 69952 invoked by uid 89); 21 Jul 2015 01:50:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Jul 2015 01:50:39 +0000 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 83D6DF800C5A3; Tue, 21 Jul 2015 02:50:36 +0100 (IST) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 21 Jul 2015 02:50:37 +0100 Received: from [10.20.3.68] (10.20.3.68) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 20 Jul 2015 18:50:34 -0700 Message-ID: <55ADA56A.5090301@imgtec.com> Date: Tue, 21 Jul 2015 01:50:00 -0000 From: Brendan Kirby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Sergio Durigan Junior CC: Simon Marchi , Subject: Re: MIPS build slave References: <55A9E3F5.3090902@imgtec.com> <87fv4kswuh.fsf@redhat.com> <55AD543B.5010301@imgtec.com> <87fv4iczgm.fsf@redhat.com> <55AD8A7F.3080009@imgtec.com> <877fpu9xjh.fsf@redhat.com> In-Reply-To: <877fpu9xjh.fsf@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg00579.txt.bz2 On 07/20/2015 05:14 PM, Sergio Durigan Junior wrote: > 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. > As I mentioned before, I've already made this change and restarted the build slave. I'm seeing SHELL=/bin/bash in the environment for steps in the currently running build. Let me know if this fixes things. Brendan