From owner-freebsd-stable@freebsd.org Tue Nov 24 17:58:50 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 D3688A36024 for ; Tue, 24 Nov 2015 17:58:50 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 5DF56102E for ; Tue, 24 Nov 2015 17:58:50 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by lffu14 with SMTP id u14so31229968lff.1 for ; Tue, 24 Nov 2015 09:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=QeaxxUrCDyf40dC9OvJu5FYGjrSLedo4P3LqcYvIq3Q=; b=CMuZg8P6YjdPp91SwNnwO5Q9QUytgiZqzfQeF6mM5iKHbbi959EoNii5gJFQUKbqJe Ue97B8h/NKhpm7ceuCUwFsXokK3EbvDs/t4a8yVA0CgZvtGgeg7P/XvE4yRY6EMkno7N 0dq0heYotsWAJZ2IZ4zb0D1JXjyOhkVyVMsyzy+Bcyo/FE9fvox11s/6KQf/Z3LlX6lU ON09gIRyvjL04xMXKfOCXtZ9D4MMwKgIKW7oIKHOyj83V2jMISQp6BMIvDXtZ6LDSVmA CsFBZt93SIZUQ95HnfudC5ybZV4masdJo9+VlpVCa+st0XySXwhgCnBmOwuBpltKKSh/ C4Ww== MIME-Version: 1.0 X-Received: by 10.25.19.69 with SMTP id j66mr14031691lfi.25.1448387928466; Tue, 24 Nov 2015 09:58:48 -0800 (PST) Sender: ndenev@gmail.com Received: by 10.25.39.137 with HTTP; Tue, 24 Nov 2015 09:58:48 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Nov 2015 18:58:48 +0100 X-Google-Sender-Auth: aYiooezT4RIHnkkwKVeRWprhHCc Message-ID: Subject: Re: sshpass From: Nikolay Denev To: Adam Vande More Cc: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 17:58:50 -0000 Maybe patch around this change http://sourceforge.net/p/sshpass/code/48/tree//trunk/main.c?diff=5182883de88f3d77deda7b5c:47 similarly to what was done in the Salt issue https://github.com/saltstack/salt/pull/22120/files --Nikolay On Tue, Nov 24, 2015 at 1:05 AM, Adam Vande More wrote: > 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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"