Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install blocked by noexec set on /tmp directory #11

Open
jneo8 opened this issue Dec 21, 2023 · 0 comments
Open

Install blocked by noexec set on /tmp directory #11

jneo8 opened this issue Dec 21, 2023 · 0 comments

Comments

@jneo8
Copy link
Contributor

jneo8 commented Dec 21, 2023

The install hook fails on clouds with CIS Hardening implemented due to the /tmp directory mount option "noexec".

When installing "fabric" via pip, the dependency "pynacl" fails during compilation. 0 This occurs because it is attempting to load a symbol from a shared object in the /tmp directory. This is a similar problem to bug 1935032.

The following modification to the command in the install hook works:
. /opt/juju_venvs/duplicity/bin/activate; TMPDIR=/var/lib/pip https_proxy=XXX pip install fabric


Imported from Launchpad using lp2gh.

  • date created: 2022-04-08T18:02:57Z

  • owner: jplettman

  • assignee: None

  • the launchpad url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant