vault: stop systemd-tmpfiles reaping openbao plugin sockets #508
Closed
unkinben
wants to merge 1 commits from
benvin/openbao-plugin-socket-tmpfiles into develop
pull from: benvin/openbao-plugin-socket-tmpfiles
merge into: unkin:develop
unkin:develop
unkin:benvin/dind-runner-nodes
unkin:benvin/puppet-migrate-git-server
unkin:benvin/wgvpn-role
unkin:benvin/consul-dns-k8s
unkin:benvin/consul-clients-k8s
unkin:benvin/consul-mesh-gateway
unkin:benvin/consul-server-tls-fed
unkin:benvin/halb-drop-grafana
unkin:benvin/journald-explicit-port
unkin:benvin/certmanager-k8s-auth
unkin:benvin/netbox-facts
unkin:benvin/rke2_upgrade
unkin:benvin/artifactapi_repos
unkin:benvin/backend_dovecot
unkin:benvin/exporter_ip_loopback
unkin:neoloc/ceph
unkin:neoloc/mpls_mpbgp_rr
unkin:neoloc/firewall
unkin:neoloc/includegroups
unkin:neoloc/exportarr
unkin:neoloc/authproxy
unkin:neoloc/openldap
unkin:neoloc/puppetdb_ssl
unkin:master
1 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5e8cff921c |
vault: keep systemd-tmpfiles from reaping openbao plugin sockets
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
go-plugin gives each secrets plugin a control socket at /tmp/pluginNNN. The daily systemd-tmpfiles-clean deletes /tmp files older than the OS policy, which severs the socket of a long-lived plugin while its process keeps running. Every request then fails with rpc Unavailable / dial unix /tmp/pluginNNN: no such file, until a plugin reload respawns it. This hit the litellm engine (terraform-vault#112) but the risk is shared by every OpenBao plugin (gpg, rancher, gitea, ...). Ship a tmpfiles.d exclude (x /tmp/plugin*) on all vault servers so plugin sockets survive the cleaner. Takes effect on the next clean, no restart. Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT |