mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fix: added landlock access to /usr/libexec for getter (#16900)
This commit is contained in:
3
.changelog/16900.txt
Normal file
3
.changelog/16900.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
fix: Added "/usr/libexec" to the landlocked directories the getter has access to
|
||||
```
|
||||
@@ -63,6 +63,7 @@ func lockdown(allocDir, taskDir string) error {
|
||||
landlock.Dir("/bin", "rx"),
|
||||
landlock.Dir("/usr/bin", "rx"),
|
||||
landlock.Dir("/usr/local/bin", "rx"),
|
||||
landlock.Dir("/usr/libexec", "rx"),
|
||||
landlock.Dir(allocDir, "rwc"),
|
||||
landlock.Dir(taskDir, "rwc"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user