canonical / canonical/layer-basic
[CIS L1] tmpfs hardening
Open
enhancement
- Dominant language
- Python
- Stars
- 10
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When hardening Octavia units on Ubuntu to CIS Level 1, the hardening prevents execution on the /tmp directory with the following configuration:
tmpfs /tmp tmpfs defaults,rw,nosuid,nodev,noexec,relatime 0 0
This in turn causes an expected condition where pip packages fail to install: https://pastebin.canonical.com/p/wZHytnTqWN/
Removing the noexec configuration for tmpfs will workaround this issue, but will break compliance.
Many thanks,
Peter
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.