Install plugin under /usr/libexec (#7)
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:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user