FS#53724 - [ansible] 'become' tasks fail (with a timeout msg) in 2.3.0

Attached to Project: Community Packages
Opened by Jonathon (jonathon) - Wednesday, 19 April 2017, 21:20 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 30 April 2017, 17:20 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Tasks with become_method=su fail with a timeout. This has been fixed upstream but might take some time to reach a release.

Low severity but high impact: `ansible` is broken for anyone who uses `su` rather than `sudo` for privilege escalation.

Please cherry-pick the patch from https://github.com/ansible/ansible/pull/23710.

Additional info:
Upstream bug report https://github.com/ansible/ansible/issues/23689


Steps to reproduce:
* Try to run an ansible task which includes `--become --become-method=su -v`.
* Observe timeout with message "Timeout (12s) waiting for privilege escalation prompt:"
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 30 April 2017, 17:20 GMT
Reason for closing:  Fixed
Comment by Jonathon (jonathon) - Friday, 28 April 2017, 22:43 GMT
To try and help out a little, and with no new release in sight from upstream, here's a PKGBUILD with the necessary patch included.

[Edit: tweaked to avoid patch fuzz (15209), can't seem to delete the original attachment (15208)]

Loading...