From owner-freebsd-ports-bugs@freebsd.org Fri Jan 22 16:32:04 2016 Return-Path: Delivered-To: freebsd-ports-bugs@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 CBB2FA8D173 for ; Fri, 22 Jan 2016 16:32:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3F2018FE for ; Fri, 22 Jan 2016 16:32:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0MGW4qu019732 for ; Fri, 22 Jan 2016 16:32:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206498] sysutils/ansible -- tries to feed sh-syntax commands to csh Date: Fri, 22 Jan 2016 16:32:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: matthew@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 16:32:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206498 Bug ID: 206498 Summary: sysutils/ansible -- tries to feed sh-syntax commands to csh Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: matthew@FreeBSD.org CC: lifanov@mail.lifanov.com Flags: maintainer-feedback?(lifanov@mail.lifanov.com) CC: lifanov@mail.lifanov.com Created attachment 165964 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165964&action= =3Dedit Derived from upstream commit 8647fdc7f25ba1c707c5333ca1581a1fa0ffe566 Seems there's a show-stopper bug in the latest ansible port: % ansible -vvv stingray.fish.adestra.com -m setup Using /usr/local/etc/ansible/ansible.cfg as config file ESTABLISH SSH CONNECTION FOR USER: None SSH: EXEC ssh -C -q -A -o ControlMaster=3Dauto = -o ControlPersist=3D60s -o Port=3D22 -o KbdInteractiveAuthentication=3Dno -o PreferredAuthentications=3Dgssapi-with-mic,gssapi-keyex,hostbased,publickey= -o PasswordAuthentication=3Dno -o ConnectTimeout=3D10 -o ControlPath=3D/home/matthew/.ansible/cp/ansible-ssh-%h-%p-%r -tt stingray.fish.adestra.com '( umask 22 && mkdir -p "$( echo ${HOME}/.ansible/tmp/ansible-tmp-1453477395.69-234719990038675 )" && echo "= $( echo ${HOME}/.ansible/tmp/ansible-tmp-1453477395.69-234719990038675 )" )' stingray.fish.adestra.com | UNREACHABLE! =3D> { "changed": false, "msg": "ERROR! Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 22 && mkdir -p \"$( echo ${HOME}/.ansible/tmp/ansible-tmp-1453477395.69-234719990038675 )\" && echo = \"$( echo ${HOME}/.ansible/tmp/ansible-tmp-1453477395.69-234719990038675 )\" ), exited with result 1: Illegal variable name.\r\n", "unreachable": true } On FreeBSD machines, where root's shell is by default /bin/csh, ansible end= s up using that trying to run commands with /bin/sh syntax. Which simply doesn't work. This has been reported upstream (Issues: #13745, #13882) and this fix has b= een committed to ansible github: https://github.com/ansible/ansible/commit/8647fdc7f25ba1c707c5333ca1581a1fa= 0ffe566 Would it be possible to add this as a patch to the ansible FreeBSD port unt= il the next release comes out? poudriere testport: OK --=20 You are receiving this mail because: You are the assignee for the bug.=