From owner-freebsd-stable@freebsd.org Tue Nov 24 00:05:28 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20198A36DB3 for ; Tue, 24 Nov 2015 00:05:28 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE39B12F8 for ; Tue, 24 Nov 2015 00:05:27 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmec201 with SMTP id c201so185140462wme.0 for ; Mon, 23 Nov 2015 16:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=K+nAyNEf77qfsrsmaDEd7QBCcipFfaxr63oSFj/epYo=; b=GR8ihY7Tlgjbm5AvaSz5tIhPiCW9p1c6I7ghFe6qa2GAcSWHIW6aqFmc/4qNk1YJe/ 67CawVQDDu9tmjiKVxh68+B6043+EQytCEhlVJYwEwxTZAxGYx0Y8wQJ3aw1kcpwkxc6 KeUK4N9m/ZUrzEa72vDc829lYhVNNI7jrNX17U5N1HRwnAq66OYTtpxaSn1vc6c2JtW2 rk1qeNbbjPRVvmMC6y1hauHunsXH3Lnz+4DWRn6+e+xk1NhAQ9IrvxtkfHjDEGTvdce7 EbmFZ31x9My/rOlNQL4NxY2FI1hrTcESOOV4qAwieFfN4JNiDBaXbi44daqTDly6In9A 90Pw== MIME-Version: 1.0 X-Received: by 10.28.129.82 with SMTP id c79mr22892076wmd.80.1448323526241; Mon, 23 Nov 2015 16:05:26 -0800 (PST) Received: by 10.194.192.33 with HTTP; Mon, 23 Nov 2015 16:05:26 -0800 (PST) Date: Mon, 23 Nov 2015 18:05:26 -0600 Message-ID: Subject: sshpass From: Adam Vande More To: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 00:05:28 -0000 sshpass seems to be broken for at least FreeBSD 10.X targets and here is some debugging output: 6347: 0.306948550 write(2,"debug2: input_userauth_info_req:"...,48) = 48 (0x30) 6347: 0.307046901 openat(0xffffff9c,0x8008a4fe6,0x2,0x0,0x7ff7fc75ecfc,0x803856010) ERR#6 'Device not configured' debug1: read_passphrase: can't open /dev/tty: Device not configured 6347: 0.307174637 write(2,"debug1: read_passphrase: can't o"...,69) = 69 (0x45) 6347: 0.307292478 open("/dev/tty",O_RDWR|O_CLOEXEC,0163727160) ERR#6 'Device not configured' debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64) 6347: 0.307424012 write(2,"debug3: packet_send2: adding 48 "...,64) = 64 (0x40) It seems various tools like ansible and salt are running into this as well: https://github.com/saltstack/salt/issues/20565 https://github.com/ansible/ansible/issues/11565 http://sourceforge.net/p/sshpass/bugs/12/ <- Misidentified cause Can anyone offer insight into this? Thanks, -- Adam