Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vault: chown config dir to service user
@ 2021-01-24 21:38 Goorzhel
  2021-01-24 21:45 ` Goorzhel
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: Goorzhel @ 2021-01-24 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

There is a new pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages vault
https://github.com/void-linux/void-packages/pull/28200

vault: chown config dir to service user
Dunno why I missed this before, but:
```
$ sudo -u _vault vault server -config=/etc/vault
Password:
error loading configuration from /etc/vault: open /etc/vault: permission denied
$ sudo chown _vault:_vault /etc/vault
$ sudo -u _vault vault server -config=/etc/vault
==> Vault server configuration:
<...>
```

A patch file from https://github.com/void-linux/void-packages/pull/28200.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-28200.patch --]
[-- Type: text/x-diff, Size: 845 bytes --]

From ed9df2935744a5e7092e994615e790227579193d Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Sun, 24 Jan 2021 13:33:58 -0800
Subject: [PATCH] vault: chown config dir to service user

---
 srcpkgs/vault/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index edfa5c95a91..c8105958a70 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -16,7 +16,7 @@ distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
 checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
 system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
- /etc/vault 0700 root root"
+ /etc/vault 0700 _vault _vault"
 
 case "$XBPS_TARGET_MACHINE" in
 	arm*) go_ldflags="$go_ldflags -linkmode=external";;

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-01-07  6:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 21:38 [PR PATCH] vault: chown config dir to service user Goorzhel
2021-01-24 21:45 ` Goorzhel
2021-01-24 22:59 ` ericonr
2021-01-24 23:00 ` [PR PATCH] [Updated] " Goorzhel
2021-01-24 23:35 ` the-maldridge
2021-01-25  3:13 ` Goorzhel
2021-01-28  4:12 ` ericonr
2021-02-19  2:21 ` Goorzhel
2021-08-16 15:51 ` [PR PATCH] [Updated] " Goorzhel
2021-08-16 15:58 ` Goorzhel
2021-08-16 16:01 ` [PR PATCH] [Updated] " Goorzhel
2021-10-13  5:40 ` Goorzhel
2021-10-13  5:53 ` Goorzhel
2021-10-13  5:53 ` Goorzhel
2021-11-15  2:42 ` [PR PATCH] [Updated] " Goorzhel
2021-11-15  6:02 ` Goorzhel
2021-11-18  5:26 ` Goorzhel
2021-11-18  5:29 ` Goorzhel
2021-11-18 13:25 ` Duncaen
2021-11-19  1:53 ` Goorzhel
2021-11-19  2:49 ` the-maldridge
2021-11-19  3:38 ` [PR PATCH] [Updated] " Goorzhel
2021-11-19 11:10 ` Duncaen
2021-11-19 18:05 ` [PR PATCH] [Updated] " Goorzhel
2021-11-21 19:23 ` ericonr
2022-01-07  6:54 ` [PR PATCH] [Merged]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).