From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/
Date: Sat, 15 Jan 2022 12:32:24 +0000 (UTC) [thread overview]
Message-ID: <1642249923.7cb8559a91b2c1d8508b877e711ded939f0c0bef.gyakovlev@gentoo> (raw)
commit: 7cb8559a91b2c1d8508b877e711ded939f0c0bef
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 12:22:48 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 12:32:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb8559a
net-nds/gssproxy: create /var/lib/gssproxy/rcache
without that directory present krb nfs mounts fail with very confusing
and hard to debug messages.
systemd unit sets Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache
but does not create it.
Let's do it in ebuild and openrc service.
Fedora's rpm spec also creates it mkdir -p %{buildroot}%{gpstatedir}/rcache
https://src.fedoraproject.org/rpms/gssproxy/blob/rawhide/f/gssproxy.spec
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
net-nds/gssproxy/files/gssproxy | 1 +
net-nds/gssproxy/{gssproxy-0.8.4.ebuild => gssproxy-0.8.4-r1.ebuild} | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-nds/gssproxy/files/gssproxy b/net-nds/gssproxy/files/gssproxy
index 750e7623cdcc..34e4983b384f 100644
--- a/net-nds/gssproxy/files/gssproxy
+++ b/net-nds/gssproxy/files/gssproxy
@@ -12,4 +12,5 @@ depend() {
start_pre() {
checkpath -d -m 0755 /var/lib/gssproxy
+ checkpath -d -m 0755 /var/lib/gssproxy/rcache
}
diff --git a/net-nds/gssproxy/gssproxy-0.8.4.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
similarity index 97%
rename from net-nds/gssproxy/gssproxy-0.8.4.ebuild
rename to net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
index dd5999942c52..df211a14dbf6 100644
--- a/net-nds/gssproxy/gssproxy-0.8.4.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.8.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -82,6 +82,7 @@ src_install() {
newins examples/mech gssproxy.conf
keepdir /var/lib/gssproxy
+ keepdir /var/lib/gssproxy/rcache
# The build installs a bunch of empty dirs, so prune them.
find "${ED}" -depth -type d -empty -delete || die
next reply other threads:[~2022-01-15 12:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-15 12:32 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-15 12:42 [gentoo-commits] repo/gentoo:master commit in: net-nds/gssproxy/, net-nds/gssproxy/files/ Georgy Yakovlev
2022-06-01 6:38 Sam James
2022-06-16 22:09 Sam James
2023-12-28 4:23 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1642249923.7cb8559a91b2c1d8508b877e711ded939f0c0bef.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox