commit: e3d352d8fade400644367fdd2b2344f657c404a8
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 23:02:15 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May 29 23:02:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3d352d8
sys-auth/keystone: use root perms for logrotate
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{keystone-21.0.0-r1.ebuild => keystone-21.0.0-r2.ebuild} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-auth/keystone/keystone-21.0.0-r1.ebuild
b/sys-auth/keystone/keystone-21.0.0-r2.ebuild
similarity index 100%
rename from sys-auth/keystone/keystone-21.0.0-r1.ebuild
rename to sys-auth/keystone/keystone-21.0.0-r2.ebuild
index bf0863462..4630d4695 100644
--- a/sys-auth/keystone/keystone-21.0.0-r1.ebuild
+++ b/sys-auth/keystone/keystone-21.0.0-r2.ebuild
@@ -100,6 +100,9 @@ python_compile_all() {
python_install_all() {
distutils-r1_python_install_all
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/keystone.logrotate" keystone.conf
+
diropts -m 0750
keepdir /etc/keystone /var/log/keystone
insinto /etc/keystone
@@ -115,9 +118,6 @@ python_install_all() {
newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf
- insinto /etc/logrotate.d
- newins "${FILESDIR}/keystone.logrotate" keystone.conf
-
systemd_dounit "${FILESDIR}/openstack-keystone.service"
insinto /usr/lib/sysctl.d/