Install plugin under /usr/libexec (#7)
ci / pre-commit (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / test (push) Has been cancelled
ci / build (push) Has been cancelled
release / release (push) Has been cancelled

Plugin binaries are internal executables run by Vault/OpenBao, not by users, so FHS places them under /usr/libexec (which also gives them the SELinux bin_t label).

- vault RPM installs to /usr/libexec/vault-plugins, openbao RPM to /usr/libexec/openbao-plugins
- preinstall scripts create the new directories
- README install example uses the packaged path

Reviewed-on: #7
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #7.
This commit is contained in:
2026-11-19 22:31:46 +11:00
committed by BenVincent
parent 681bd8264f
commit a94472cbef
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
# Ensure the plugin directory exists before the binary is laid down.
mkdir -p /opt/openbao-plugins
mkdir -p /usr/libexec/openbao-plugins
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
# Ensure the plugin directory exists before the binary is laid down.
mkdir -p /opt/vault-plugins
mkdir -p /usr/libexec/vault-plugins