Project

General

Profile

Actions

Bug #36300

closed

smart_proxy_ansible should not require executable files in /tmp

Added by Evgeni Golov almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Ohai,

today sp-ansible drops an executable inventory in working_dir (which defaults to /tmp), but in some setups this folder is mounted noexec and thus execution fails with errors like:

[WARNING]:  * Failed to parse /tmp/d20230323-802194-1474bu8/inventory/hosts
with script plugin: problem running
/tmp/d20230323-802194-1474bu8/inventory/hosts --list ([Errno 13] Permission
denied: '/tmp/d20230323-802194-1474bu8/inventory/hosts')
Actions

Also available in: Atom PDF